projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a38c8
)
Added PT_REGS_ARG macro to deal with change to interrupt handler
author
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 12 Dec 2006 15:14:17 +0000
(15:14 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 12 Dec 2006 15:14:17 +0000
(15:14 +0000)
prototype in kernel 2.6.19.
include/linux/interrupt.h
patch
|
blob
|
history
diff --git
a/include/linux/interrupt.h
b/include/linux/interrupt.h
index 6af12f24ead6cfc8d472d1edd23faa29d6461951..3a5ad5f5aab548a601e279ad3194f78bf8528787 100644
(file)
--- a/
include/linux/interrupt.h
+++ b/
include/linux/interrupt.h
@@
-28,6
+28,12
@@
typedef void irqreturn_t;
#define IRQ_RETVAL(x) (void)(x)
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
+#define PT_REGS_ARG , struct pt_regs *regs
+#else
+#define PT_REGS_ARG
+#endif
+
#include_next <linux/interrupt.h>
#endif