summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:20:19 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:20:19 -0800
commit0a97b16afbcaadbe4410d78adfe8967398454945 (patch)
treea840d4dfa366d426d9063041a6d663386e4c71ac /include/linux/module.h
parent5bf3be033f504f5fd79690fbb13d720407314e40 (diff)
v2.4.10.2 -> v2.4.10.3
- Al Viro: superblock cleanups, partition handling fixes and cleanups - Ben Collins: firewire update - Jeff Garzik: network driver updates - Urban Widmark: smbfs updates - Kai Mäkisara: SCSI tape driver update - various: embarrassing lack of error checking in ELF loader - Neil Brown: md formatting cleanup.
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index d32bf62b8fb0..becc3a0e48c8 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -366,10 +366,10 @@ __attribute__((section("__ksymtab"))) = \
#define __EXPORT_SYMBOL_GPL(sym, str) \
const char __kstrtab_##sym[] \
-__attribute__((section(".kstrtab"))) = str; \
-const struct module_symbol __ksymtab_GPLONLY_##sym \
+__attribute__((section(".kstrtab"))) = "GPLONLY_" str; \
+const struct module_symbol __ksymtab_##sym \
__attribute__((section("__ksymtab"))) = \
-{ (unsigned long)&sym, __kstrtab_GPLONLY_##sym }
+{ (unsigned long)&sym, __kstrtab_##sym }
#if defined(MODVERSIONS) || !defined(CONFIG_MODVERSIONS)
#define EXPORT_SYMBOL(var) __EXPORT_SYMBOL(var, __MODULE_STRING(var))