From 4c26c6c9bf1837ef413c18055d38f0b70af8574e Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sun, 18 Nov 2007 00:20:49 +0800 Subject: [PATCH] Blackfin arch: print out modules that are loaded if we get a kernel oops Signed-off-by: Robin Getz Signed-off-by: Bryan Wu --- arch/blackfin/kernel/traps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index fbdf999bd2b5..1a72a8029a34 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c @@ -629,6 +629,7 @@ void dump_bfin_regs(struct pt_regs *fp, void *retaddr) } } else { printk(KERN_NOTICE "Kernel or interrupt exception\n"); + print_modules(); } if (retaddr >= (void *)FIXED_CODE_START && retaddr < (void *)physical_mem_end -- 2.30.2