aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/module.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2006-12-16 10:16:50 -0500
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 00:51:46 -0500
commit6891f8a1135b964f8ef30521d1473d5d137af0fa (patch)
treed9b7d1e240107dc25fb864b81dbc6fc4bdc5895b /arch/parisc/kernel/module.c
parent9f15c82686251cd2b97ac6859de62959d3c4afe1 (diff)
[PARISC] Generic BUG
Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/module.c')
-rw-r--r--arch/parisc/kernel/module.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c
index 47ea4e4a2179..1808f857a73a 100644
--- a/arch/parisc/kernel/module.c
+++ b/arch/parisc/kernel/module.c
@@ -46,6 +46,7 @@
46#include <linux/fs.h> 46#include <linux/fs.h>
47#include <linux/string.h> 47#include <linux/string.h>
48#include <linux/kernel.h> 48#include <linux/kernel.h>
49#include <linux/bug.h>
49 50
50#include <asm/unwind.h> 51#include <asm/unwind.h>
51 52
@@ -851,10 +852,11 @@ int module_finalize(const Elf_Ehdr *hdr,
851 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr; 852 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr;
852 DEBUGP("NEW num_symtab %lu\n", nsyms); 853 DEBUGP("NEW num_symtab %lu\n", nsyms);
853 symhdr->sh_size = nsyms * sizeof(Elf_Sym); 854 symhdr->sh_size = nsyms * sizeof(Elf_Sym);
854 return 0; 855 return module_bug_finalize(hdr, sechdrs, me);
855} 856}
856 857
857void module_arch_cleanup(struct module *mod) 858void module_arch_cleanup(struct module *mod)
858{ 859{
859 deregister_unwind_table(mod); 860 deregister_unwind_table(mod);
861 module_bug_cleanup(mod);
860} 862}