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

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)