Displaying 3 results from an estimated 3 matches for "add_pin_to_irq".
2011 Sep 21
0
[PATCH] x86: IO-APIC code has no dependency on PCI
...>
#include <xen/sched.h>
#include <xen/acpi.h>
-#include <xen/pci.h>
-#include <xen/pci_regs.h>
#include <xen/keyhandler.h>
#include <asm/mc146818rtc.h>
#include <asm/smp.h>
@@ -2493,12 +2491,10 @@ int ioapic_guest_write(unsigned long phy
add_pin_to_irq(irq, apic, pin);
}
- spin_lock(&pcidevs_lock);
spin_lock(&dom0->event_lock);
ret = map_domain_pirq(dom0, pirq, irq,
MAP_PIRQ_TYPE_GSI, NULL);
spin_unlock(&dom0->event_lock);
- spin_unlock(&pcidevs_lock);
if ( ret < 0 )
re...
2007 Apr 18
2
refactoring io_apic.c
...-purN -X /home/mbligh/.diff.exclude virgin/arch/i386/kernel/io_apic.c io_apic_split/arch/i386/kernel/io_apic.c
--- virgin/arch/i386/kernel/io_apic.c 2005-06-17 12:48:29.000000000 -0700
+++ io_apic_split/arch/i386/kernel/io_apic.c 2005-08-08 16:11:35.786286120 -0700
@@ -107,143 +107,6 @@ static void add_pin_to_irq(unsigned int
entry->pin = pin;
}
-/*
- * Reroute an IRQ to a different pin.
- */
-static void __init replace_pin_at_irq(unsigned int irq,
- int oldapic, int oldpin,
- int newapic, int newpin)
-{
- struct irq_pin_list *entry = irq_2_pin + irq;
-
- while (1) {
- if (entry-...
2007 Apr 18
2
refactoring io_apic.c
...-purN -X /home/mbligh/.diff.exclude virgin/arch/i386/kernel/io_apic.c io_apic_split/arch/i386/kernel/io_apic.c
--- virgin/arch/i386/kernel/io_apic.c 2005-06-17 12:48:29.000000000 -0700
+++ io_apic_split/arch/i386/kernel/io_apic.c 2005-08-08 16:11:35.786286120 -0700
@@ -107,143 +107,6 @@ static void add_pin_to_irq(unsigned int
entry->pin = pin;
}
-/*
- * Reroute an IRQ to a different pin.
- */
-static void __init replace_pin_at_irq(unsigned int irq,
- int oldapic, int oldpin,
- int newapic, int newpin)
-{
- struct irq_pin_list *entry = irq_2_pin + irq;
-
- while (1) {
- if (entry-...