diff options
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/module.c b/kernel/module.c index bd695bfdc5c4..601494d4b7ea 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -3118,10 +3118,10 @@ static int find_module_sections(struct module *mod, struct load_info *info) | |||
3118 | sizeof(*mod->ftrace_callsites), | 3118 | sizeof(*mod->ftrace_callsites), |
3119 | &mod->num_ftrace_callsites); | 3119 | &mod->num_ftrace_callsites); |
3120 | #endif | 3120 | #endif |
3121 | #ifdef CONFIG_BPF_KPROBE_OVERRIDE | 3121 | #ifdef CONFIG_FUNCTION_ERROR_INJECTION |
3122 | mod->kprobe_ei_funcs = section_objs(info, "_kprobe_error_inject_list", | 3122 | mod->ei_funcs = section_objs(info, "_error_injection_whitelist", |
3123 | sizeof(*mod->kprobe_ei_funcs), | 3123 | sizeof(*mod->ei_funcs), |
3124 | &mod->num_kprobe_ei_funcs); | 3124 | &mod->num_ei_funcs); |
3125 | #endif | 3125 | #endif |
3126 | mod->extable = section_objs(info, "__ex_table", | 3126 | mod->extable = section_objs(info, "__ex_table", |
3127 | sizeof(*mod->extable), &mod->num_exentries); | 3127 | sizeof(*mod->extable), &mod->num_exentries); |