summaryrefslogtreecommitdiff
path: root/arch/blackfin/kernel/traps.c
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-11-17 16:20:49 (GMT)
committerBryan Wu <bryan.wu@analog.com>2007-11-17 16:20:49 (GMT)
commit4c26c6c9bf1837ef413c18055d38f0b70af8574e (patch)
treedd64ee4199fdbab2c1420cbfb358ab513dd28f26 /arch/blackfin/kernel/traps.c
parent5c91fb902d4e6f6006faf45edd3f25932cb7d58c (diff)
downloadlinux-fsl-qoriq-4c26c6c9bf1837ef413c18055d38f0b70af8574e.tar.xz
Blackfin arch: print out modules that are loaded if we get a kernel oops
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/traps.c')
-rw-r--r--arch/blackfin/kernel/traps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c
index fbdf999..1a72a80 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