patch-2.4.26 linux-2.4.26/arch/i386/kernel/io_apic.c
Next file: linux-2.4.26/arch/i386/kernel/microcode.c
Previous file: linux-2.4.26/arch/i386/kernel/i386_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2004-04-14 06:05:25.000000000 -0700
- Orig file:
linux-2.4.25/arch/i386/kernel/io_apic.c
- Orig date:
2003-11-28 10:26:19.000000000 -0800
diff -urN linux-2.4.25/arch/i386/kernel/io_apic.c linux-2.4.26/arch/i386/kernel/io_apic.c
@@ -1864,7 +1864,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)