From 57146c8a3cd9fcc093965cf87d21bb3815f1e6a9 Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Wed, 19 Feb 2003 04:42:21 -0600 Subject: kbuild: [PATCH] adapt genksyms for current kbuild By Rusty Russell. o generate output in a form feasible as linker script instead of munging it with sed during the build o remove checksum version 1 support o remove prefix support --- include/linux/module.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'include/linux/module.h') diff --git a/include/linux/module.h b/include/linux/module.h index d10249bfb667..a40eea60f0b4 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 -- cgit v1.2.3