patch-1.3.39 linux/include/linux/symtab_begin.h

Next file: linux/include/linux/symtab_end.h
Previous file: linux/include/linux/sched.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/include/linux/symtab_begin.h linux/include/linux/symtab_begin.h
@@ -1,7 +1,6 @@
-#include <linux/config.h>
 #include <linux/linkage.h>
 
-#ifdef CONFIG_MODVERSIONS
+#ifdef MODVERSIONS
 # undef _set_ver
 # undef X
 
@@ -15,9 +14,9 @@
 #  endif /* !MODULE */
 #  define X(a) a
 # endif /* !__GENKSYMS__ */
-#else /* !CONFIG_MODVERSIONS */
+#else /* !MODVERSIONS */
 # define X(sym) { (void *) & sym, SYMBOL_NAME_STR(sym)}
-#endif /* !CONFIG_MODVERSIONS */
+#endif /* MODVERSIONS */
 
 #define EMPTY {0,0}
 	0, 0, 0, {

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