patch-1.3.50 linux/include/linux/module.h

Next file: linux/include/linux/pagemap.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.49/linux/include/linux/module.h linux/include/linux/module.h
@@ -12,14 +12,10 @@
 #  undef  MODVERSIONS
 #  define MODVERSIONS
 #else /* ! __GENKSYMS__ */
-# ifdef MODVERSIONS
-#  ifndef MODULE
-#   ifdef EXPORT_SYMTAB
-#    define _set_ver(sym,vers) sym
-#    include <linux/modversions.h>
-#   endif /* EXPORT_SYMTAB */
-#  endif /* MODULE */
-# endif /* MODVERSIONS */
+# if defined(MODVERSIONS) && !defined(MODULE) && defined(EXPORT_SYMTAB)
+#   define _set_ver(sym,vers) sym
+#   include <linux/modversions.h>
+# endif
 #endif /* __GENKSYMS__ */
 
 /* values of module.state */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this