diff options
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/module.c b/kernel/module.c index 4202da97a1da..92595bad3812 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -2038,7 +2038,7 @@ static struct module *load_module(void __user *umod, | |||
2038 | #ifdef CONFIG_MARKERS | 2038 | #ifdef CONFIG_MARKERS |
2039 | if (!mod->taints) | 2039 | if (!mod->taints) |
2040 | marker_update_probe_range(mod->markers, | 2040 | marker_update_probe_range(mod->markers, |
2041 | mod->markers + mod->num_markers, NULL, NULL); | 2041 | mod->markers + mod->num_markers); |
2042 | #endif | 2042 | #endif |
2043 | err = module_finalize(hdr, sechdrs, mod); | 2043 | err = module_finalize(hdr, sechdrs, mod); |
2044 | if (err < 0) | 2044 | if (err < 0) |
@@ -2564,7 +2564,7 @@ EXPORT_SYMBOL(struct_module); | |||
2564 | #endif | 2564 | #endif |
2565 | 2565 | ||
2566 | #ifdef CONFIG_MARKERS | 2566 | #ifdef CONFIG_MARKERS |
2567 | void module_update_markers(struct module *probe_module, int *refcount) | 2567 | void module_update_markers(void) |
2568 | { | 2568 | { |
2569 | struct module *mod; | 2569 | struct module *mod; |
2570 | 2570 | ||
@@ -2572,8 +2572,7 @@ void module_update_markers(struct module *probe_module, int *refcount) | |||
2572 | list_for_each_entry(mod, &modules, list) | 2572 | list_for_each_entry(mod, &modules, list) |
2573 | if (!mod->taints) | 2573 | if (!mod->taints) |
2574 | marker_update_probe_range(mod->markers, | 2574 | marker_update_probe_range(mod->markers, |
2575 | mod->markers + mod->num_markers, | 2575 | mod->markers + mod->num_markers); |
2576 | probe_module, refcount); | ||
2577 | mutex_unlock(&module_mutex); | 2576 | mutex_unlock(&module_mutex); |
2578 | } | 2577 | } |
2579 | #endif | 2578 | #endif |