patch-2.1.99 linux/arch/i386/kernel/irq.h

Next file: linux/arch/i386/kernel/mtrr.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.98/linux/arch/i386/kernel/irq.h linux/arch/i386/kernel/irq.h
@@ -23,10 +23,7 @@
 
 extern unsigned int io_apic_irqs;
 
-extern inline int IO_APIC_VECTOR (int irq)
-{
-	return (0x51+(irq<<3));
-}
+#define IO_APIC_VECTOR(irq)	(0x51+((irq)<<3))
 
 #define MAX_IRQ_SOURCES 128
 #define MAX_MP_BUSSES 32

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov