attempting to fix 2.0 kernels that don't seem to define KERNEL_VERSION(a,b,c)
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 7 Jun 2001 23:36:37 +0000 (23:36 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 7 Jun 2001 23:36:37 +0000 (23:36 +0000)
include/linux/version.h

index f0c082fc86b1f835d5e411fd85d21b470d618948..03c349464fee0f1888ce6ec7c2420376d63429cf 100644 (file)
@@ -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 
+