projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1416ef6
)
Patch from abbotti@mev.co.uk (Ian Abbott):
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 25 Aug 2005 23:58:39 +0000
(23:58 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 25 Aug 2005 23:58:39 +0000
(23:58 +0000)
The include/linux/compiler.h file appeared in kernel 2.4.4, but disappeared in
2.4.5 and didn't reappear until 2.4.10! Comedi fails to build for kernel
versions 2.4.5 through 2.4.9 inclusive for this reason.
include/linux/compiler.h
patch
|
blob
|
history
diff --git
a/include/linux/compiler.h
b/include/linux/compiler.h
index 658110c546f87510af4832cec9a9dbdcf1032e77..2e0495e5eb52096f69283ccbe80cd4e359604292 100644
(file)
--- a/
include/linux/compiler.h
+++ b/
include/linux/compiler.h
@@
-7,7
+7,8
@@
#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,4)
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,10)) \
+ || (LINUX_VERSION_CODE == KERNEL_VERSION(2,4,4))
#include_next <linux/compiler.h>