From: Adrian Bunk This is definitely functionality illegal modules have no business to use. Signed-off-by: Adrian Bunk Acked-by: Mathieu Desnoyers Signed-off-by: Andrew Morton --- kernel/module.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN kernel/module.c~linux-kernel-markers-architecture-independant-code-license-fix kernel/module.c --- a/kernel/module.c~linux-kernel-markers-architecture-independant-code-license-fix +++ a/kernel/module.c @@ -305,7 +305,7 @@ static struct module *find_module(const void __mark_empty_function(const char *fmt, ...) { } -EXPORT_SYMBOL(__mark_empty_function); +EXPORT_SYMBOL_GPL(__mark_empty_function); #ifdef MARK_POLYMORPHIC static int marker_set_ins_enable(void *address, char enable) @@ -462,7 +462,7 @@ int marker_set_probe(const char *name, c mutex_unlock(&module_mutex); return found; } -EXPORT_SYMBOL(marker_set_probe); +EXPORT_SYMBOL_GPL(marker_set_probe); int marker_remove_probe(marker_probe_func *probe) { @@ -482,7 +482,7 @@ int marker_remove_probe(marker_probe_fun mutex_unlock(&module_mutex); return found; } -EXPORT_SYMBOL(marker_remove_probe); +EXPORT_SYMBOL_GPL(marker_remove_probe); int marker_list_probe(marker_probe_func *probe) { @@ -506,7 +506,7 @@ int marker_list_probe(marker_probe_func mutex_unlock(&module_mutex); return found; } -EXPORT_SYMBOL(marker_list_probe); +EXPORT_SYMBOL_GPL(marker_list_probe); #endif #ifdef CONFIG_SMP @@ -2505,7 +2505,7 @@ void list_modules(void) } mutex_unlock(&module_mutex); } -EXPORT_SYMBOL(list_modules); +EXPORT_SYMBOL_GPL(list_modules); /* Given an address, look for it in the module exception tables. */ const struct exception_table_entry *search_module_extables(unsigned long addr) _