]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 76a4939609b8984d41d674efa6e9974e3ceedce5..7f3277e9fc9d0a3c9b4de41a4012c4bb0b05d979 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 1dd862bcb37d17d2eea15c45ea224881b08b75fe..0e8e95401dd4d77889a61ef360fb4ae0ebe5f8a7 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