2.4.22 does _not_ have new interrupt prototypes (at least the debian
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 16 Nov 2003 00:17:20 +0000 (00:17 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 16 Nov 2003 00:17:20 +0000 (00:17 +0000)
and I assume the vanilla kernel do not).  I believe the RH 2.4.22
kernel is patched with the new prototypes, but to heck with them.

include/linux/interrupt.h

index 64d531416660d89079be2e169ac9a51b7be7f84e..5f0359a37a17f159d28ee67d63eb14a2489cb85b 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <linux/version.h>
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 22)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
 typedef void irqreturn_t;
 #define IRQ_NONE
 #define IRQ_HANDLED