aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kallsyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kallsyms.c')
-rw-r--r--kernel/kallsyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c
index 8b6b8b697c68..13aff293f4de 100644
--- a/kernel/kallsyms.c
+++ b/kernel/kallsyms.c
@@ -21,6 +21,7 @@
21#include <linux/sched.h> /* for cond_resched */ 21#include <linux/sched.h> /* for cond_resched */
22#include <linux/mm.h> 22#include <linux/mm.h>
23#include <linux/ctype.h> 23#include <linux/ctype.h>
24#include <linux/slab.h>
24 25
25#include <asm/sections.h> 26#include <asm/sections.h>
26 27
@@ -181,6 +182,7 @@ unsigned long kallsyms_lookup_name(const char *name)
181 } 182 }
182 return module_kallsyms_lookup_name(name); 183 return module_kallsyms_lookup_name(name);
183} 184}
185EXPORT_SYMBOL_GPL(kallsyms_lookup_name);
184 186
185int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, 187int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *,
186 unsigned long), 188 unsigned long),