patch-2.4.22 linux-2.4.22/include/asm-i386/hw_irq.h

Next file: linux-2.4.22/include/asm-i386/io_apic.h
Previous file: linux-2.4.22/include/asm-i386/fixmap.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-i386/hw_irq.h linux-2.4.22/include/asm-i386/hw_irq.h
@@ -213,7 +213,7 @@
 	atomic_inc((atomic_t *)&prof_buffer[eip]);
 }
 
-#ifdef CONFIG_SMP /*more of this file should probably be ifdefed SMP */
+#if defined(CONFIG_X86_IO_APIC)
 static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {
 	if (IO_APIC_IRQ(i))
 		send_IPI_self(IO_APIC_VECTOR(i));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)