From: Robin Getz Date: Sat, 17 Nov 2007 16:20:49 +0000 (+0800) Subject: Blackfin arch: print out modules that are loaded if we get a kernel oops X-Git-Tag: v2.6.24-rc4~95^2~25 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c26c6c9bf1837ef413c18055d38f0b70af8574e;p=linux-2.6 Blackfin arch: print out modules that are loaded if we get a kernel oops Signed-off-by: Robin Getz Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index fbdf999bd2..1a72a8029a 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