diff options
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index a5739a689eba..848f08474170 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -273,6 +273,9 @@ const struct exception_table_entry *search_exception_tables(unsigned long add); struct notifier_block; +typedef int (*kallsyms_cmp_symbol_t)(void *, const char *, + struct module *, unsigned long); + #ifdef CONFIG_MODULES extern int modules_disabled; /* for sysctl */ @@ -563,9 +566,6 @@ int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, /* Look for this name: can be of form module:name. */ unsigned long module_kallsyms_lookup_name(const char *name); -typedef int (*kallsyms_cmp_symbol_t)(void *, const char *, - struct module *, unsigned long); - int module_kallsyms_on_each_symbol(kallsyms_cmp_symbol_t fn, void *data); extern void __module_put_and_exit(struct module *mod, long code) |