patch-2.1.97 linux/include/asm-i386/irq.h
Next file: linux/include/asm-i386/serial.h
Previous file: linux/include/asm-alpha/serial.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Apr 17 22:04:44 1998
- Orig file:
v2.1.96/linux/include/asm-i386/irq.h
- Orig date:
Tue Jan 20 12:56:17 1998
diff -u --recursive --new-file v2.1.96/linux/include/asm-i386/irq.h linux/include/asm-i386/irq.h
@@ -18,6 +18,11 @@
#define TIMER_IRQ 0
+static __inline__ int irq_cannonicalize(int irq)
+{
+ return ((irq == 2) ? 9 : irq);
+}
+
extern void disable_irq(unsigned int);
extern void enable_irq(unsigned int);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov