diff options
Diffstat (limited to 'include/module.h')
-rw-r--r-- | include/module.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/module.h b/include/module.h index ba15ccd4ad..f24b983836 100644 --- a/include/module.h +++ b/include/module.h @@ -19,13 +19,13 @@ struct kernel_symbol /* For every exported symbol, place a struct in the __ksymtab section */ #define __EXPORT_SYMBOL(sym, sec) \ extern typeof(sym) sym; \ - static const char __u_boot_strtab_##sym[] \ - __attribute__((section("__u_boot_symtab_strings"))) \ + static const char __ustrtab_##sym[] \ + __attribute__((section("__usymtab_strings"))) \ = MODULE_SYMBOL_PREFIX #sym; \ - static const struct kernel_symbol __u_boot_symtab_##sym \ + static const struct kernel_symbol __usymtab_##sym \ __used \ - __attribute__((section("__u_boot_symtab" sec), unused)) \ - = { (unsigned long)&sym, __u_boot_strtab_##sym } + __attribute__((section("__usymtab" sec), unused)) \ + = { (unsigned long)&sym, __ustrtab_##sym } #define EXPORT_SYMBOL(sym) \ __EXPORT_SYMBOL(sym, "") |