diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 20:20:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 20:20:19 -0800 |
| commit | 0a97b16afbcaadbe4410d78adfe8967398454945 (patch) | |
| tree | a840d4dfa366d426d9063041a6d663386e4c71ac /include/linux/module.h | |
| parent | 5bf3be033f504f5fd79690fbb13d720407314e40 (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.h | 6 |
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)) |
