projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1629b43
)
attempting to fix 2.0 kernels that don't seem to define KERNEL_VERSION(a,b,c)
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 7 Jun 2001 23:36:37 +0000
(23:36 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 7 Jun 2001 23:36:37 +0000
(23:36 +0000)
include/linux/version.h
patch
|
blob
|
history
diff --git
a/include/linux/version.h
b/include/linux/version.h
index f0c082fc86b1f835d5e411fd85d21b470d618948..03c349464fee0f1888ce6ec7c2420376d63429cf 100644
(file)
--- a/
include/linux/version.h
+++ b/
include/linux/version.h
@@
-2,3
+2,7
@@
#include <modbuild/version.h>
#include_next <linux/version.h>
+#ifndef KERNEL_VERSION
+#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
+#endif
+