aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/module.c')
-rw-r--r--arch/x86/kernel/module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/module.c b/arch/x86/kernel/module.c
index 5399f58de7ed..8f2956091735 100644
--- a/arch/x86/kernel/module.c
+++ b/arch/x86/kernel/module.c
@@ -242,11 +242,10 @@ int module_finalize(const Elf_Ehdr *hdr,
242 /* make jump label nops */ 242 /* make jump label nops */
243 jump_label_apply_nops(me); 243 jump_label_apply_nops(me);
244 244
245 return module_bug_finalize(hdr, sechdrs, me); 245 return 0;
246} 246}
247 247
248void module_arch_cleanup(struct module *mod) 248void module_arch_cleanup(struct module *mod)
249{ 249{
250 alternatives_smp_module_del(mod); 250 alternatives_smp_module_del(mod);
251 module_bug_cleanup(mod);
252} 251}