Displaying 2 results from an estimated 2 matches for "newapic".
2007 Apr 18
2
refactoring io_apic.c
...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->apic == oldapic && entry->pin == oldpin) {
- entry->apic = newapic;
- entry->pin = newpin;
- }
- if (!entry->next)
- break;
- entry = irq_2_pin + entry->next;
- }
-}
-
-s...
2007 Apr 18
2
refactoring io_apic.c
...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->apic == oldapic && entry->pin == oldpin) {
- entry->apic = newapic;
- entry->pin = newpin;
- }
- if (!entry->next)
- break;
- entry = irq_2_pin + entry->next;
- }
-}
-
-s...