|
@@ -183,6 +183,7 @@ void *__symbol_get_gpl(const char *symbol);
|
|
|
|
|
|
/* For every exported symbol, place a struct in the __ksymtab section */
|
|
/* For every exported symbol, place a struct in the __ksymtab section */
|
|
#define __EXPORT_SYMBOL(sym, sec) \
|
|
#define __EXPORT_SYMBOL(sym, sec) \
|
|
|
|
+ extern typeof(sym) sym; \
|
|
__CRC_SYMBOL(sym, sec) \
|
|
__CRC_SYMBOL(sym, sec) \
|
|
static const char __kstrtab_##sym[] \
|
|
static const char __kstrtab_##sym[] \
|
|
__attribute__((section("__ksymtab_strings"))) \
|
|
__attribute__((section("__ksymtab_strings"))) \
|