|
@@ -59,6 +59,7 @@ extern struct module __this_module;
|
|
static const char __kstrtab_##sym[] \
|
|
static const char __kstrtab_##sym[] \
|
|
__attribute__((section("__ksymtab_strings"), aligned(1))) \
|
|
__attribute__((section("__ksymtab_strings"), aligned(1))) \
|
|
= VMLINUX_SYMBOL_STR(sym); \
|
|
= VMLINUX_SYMBOL_STR(sym); \
|
|
|
|
+ extern const struct kernel_symbol __ksymtab_##sym; \
|
|
__visible const struct kernel_symbol __ksymtab_##sym \
|
|
__visible const struct kernel_symbol __ksymtab_##sym \
|
|
__used \
|
|
__used \
|
|
__attribute__((section("___ksymtab" sec "+" #sym), unused)) \
|
|
__attribute__((section("___ksymtab" sec "+" #sym), unused)) \
|