patch-2.1.97 linux/include/asm-alpha/irq.h

Next file: linux/include/asm-alpha/serial.h
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/include/asm-alpha/irq.h linux/include/asm-alpha/irq.h
@@ -52,6 +52,14 @@
 
 #endif
 
+static __inline__ int irq_cannonicalize(int irq)
+{
+	/*
+	 * XXX is this true for all Alpha's?  The old serial driver
+	 * did it this way for years without any complaints, so....
+	 */
+	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