diff options
-rw-r--r-- | arch/sh/kernel/module.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/module.c b/arch/sh/kernel/module.c index 5482e65375a9..6ba2b79b826b 100644 --- a/arch/sh/kernel/module.c +++ b/arch/sh/kernel/module.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/moduleloader.h> | 27 | #include <linux/moduleloader.h> |
28 | #include <linux/elf.h> | 28 | #include <linux/elf.h> |
29 | #include <linux/vmalloc.h> | 29 | #include <linux/vmalloc.h> |
30 | #include <linux/bug.h> | ||
30 | #include <linux/fs.h> | 31 | #include <linux/fs.h> |
31 | #include <linux/string.h> | 32 | #include <linux/string.h> |
32 | #include <linux/kernel.h> | 33 | #include <linux/kernel.h> |
@@ -145,9 +146,10 @@ int module_finalize(const Elf_Ehdr *hdr, | |||
145 | const Elf_Shdr *sechdrs, | 146 | const Elf_Shdr *sechdrs, |
146 | struct module *me) | 147 | struct module *me) |
147 | { | 148 | { |
148 | return 0; | 149 | return module_bug_finalize(hdr, sechdrs, me); |
149 | } | 150 | } |
150 | 151 | ||
151 | void module_arch_cleanup(struct module *mod) | 152 | void module_arch_cleanup(struct module *mod) |
152 | { | 153 | { |
154 | module_bug_cleanup(mod); | ||
153 | } | 155 | } |