summaryrefslogtreecommitdiffstats
path: root/include/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/module.h')
-rw-r--r--include/module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/module.h b/include/module.h
index 9d0e803344..228a543fcb 100644
--- a/include/module.h
+++ b/include/module.h
@@ -36,6 +36,9 @@ struct module * load_module(void *mod_image, unsigned long len);
#define EXPORT_SYMBOL(sym) \
__EXPORT_SYMBOL(sym, "")
+#define EXPORT_SYMBOL_GPL(sym) \
+ __EXPORT_SYMBOL(sym, "")
+
struct module {
/* Unique handle for this module */
char name[MODULE_NAME_LEN];
@@ -71,6 +74,7 @@ int apply_relocate_add(Elf_Shdr *sechdrs,
struct module *mod);
#else
#define EXPORT_SYMBOL(sym)
+#define EXPORT_SYMBOL_GPL(sym)
#endif /* CONFIG_MODULES */
extern struct list_head module_list;