linux-libafs-with-modversions-20010228
authorMichael Welsh Duggan <md5i@cs.cmu.edu>
Wed, 28 Feb 2001 19:22:44 +0000 (19:22 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 28 Feb 2001 19:22:44 +0000 (19:22 +0000)
Use symbol versioning when compiling against a kernel with symbol versioning
enabled.

src/config/param.i386_linux22.h
src/config/param.i386_linux24.h

index 76a4939..7f3277e 100644 (file)
 #define AFS_GLOBAL_SUNLOCK
 #endif
 
+#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#endif
+
 #endif /* __KERNEL__  && !DUMP_KERNEL*/
 
 #ifdef KERNEL
index 1dd862b..0e8e954 100644 (file)
 #define AFS_GLOBAL_SUNLOCK
 #endif
 
+#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#endif
+
 #endif /* __KERNEL__  && !DUMP_KERNEL*/
 
 #ifdef KERNEL