summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-02-21 09:54:55 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-02-21 09:54:55 -0600
commitb0be60c012f6b2872d0471608b2dfb25d31a3f54 (patch)
tree18ac22b9244f3a051dd852eb1946bb209fe54d0c /include/linux/module.h
parentdccd1d8fd7854b8f88043f77ff05b9e6460186d9 (diff)
parentbc6efdcb09259202a2913923d788c8416723849c (diff)
Hand merged
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 9c153c659b6b..73ea686ce10b 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -150,13 +150,7 @@ void *__symbol_get(const char *symbol);
void *__symbol_get_gpl(const char *symbol);
#define symbol_get(x) ((typeof(&x))(__symbol_get(MODULE_SYMBOL_PREFIX #x)))
-#ifdef __GENKSYMS__
-
-/* genksyms doesn't handle GPL-only symbols yet */
-#define EXPORT_SYMBOL_GPL EXPORT_SYMBOL
-
-#else
-
+#ifndef __GENKSYMS__
#ifdef CONFIG_MODVERSIONS
/* Mark the CRC weak since genksyms apparently decides not to
* generate a checksums for some symbols */
@@ -188,7 +182,7 @@ void *__symbol_get_gpl(const char *symbol);
#endif
/* We don't mangle the actual symbol anymore, so no need for
- * special casing EXPORT_SYMBOL_NOVERS */
+ * special casing EXPORT_SYMBOL_NOVERS. FIXME: Deprecated */
#define EXPORT_SYMBOL_NOVERS(sym) EXPORT_SYMBOL(sym)
struct module_ref