patch-2.4.26 linux-2.4.26/arch/x86_64/kernel/io_apic.c
Next file: linux-2.4.26/arch/x86_64/kernel/mpparse.c
Previous file: linux-2.4.26/arch/x86_64/kernel/head.S
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2004-04-14 06:05:28.000000000 -0700
- Orig file:
linux-2.4.25/arch/x86_64/kernel/io_apic.c
- Orig date:
2003-11-28 10:26:19.000000000 -0800
diff -urN linux-2.4.25/arch/x86_64/kernel/io_apic.c linux-2.4.26/arch/x86_64/kernel/io_apic.c
@@ -1850,7 +1850,11 @@
entry.trigger = edge_level;
entry.polarity = active_high_low;
- add_pin_to_irq(irq, ioapic, pin);
+ /*
+ * IRQs < 16 are already in the irq_2_pin[] map
+ */
+ if (irq >= 16)
+ add_pin_to_irq(irq, ioapic, pin);
entry.vector = assign_irq_vector(irq);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)