patch-2.4.23 linux-2.4.23/include/linux/interrupt.h

Next file: linux-2.4.23/include/linux/ioport.h
Previous file: linux-2.4.23/include/linux/in.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/linux/interrupt.h linux-2.4.23/include/linux/interrupt.h
@@ -12,6 +12,12 @@
 #include <asm/ptrace.h>
 #include <asm/system.h>
 
+/* For 2.6.x compatibility */
+typedef void irqreturn_t;
+#define IRQ_NONE
+#define IRQ_HANDLED
+#define IRQ_RETVAL(x)
+
 struct irqaction {
 	void (*handler)(int, void *, struct pt_regs *);
 	unsigned long flags;

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