aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/traps.c
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-11-17 11:20:49 -0500
committerBryan Wu <bryan.wu@analog.com>2007-11-17 11:20:49 -0500
commit4c26c6c9bf1837ef413c18055d38f0b70af8574e (patch)
treedd64ee4199fdbab2c1420cbfb358ab513dd28f26 /arch/blackfin/kernel/traps.c
parent5c91fb902d4e6f6006faf45edd3f25932cb7d58c (diff)
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 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)
629 } 629 }
630 } else { 630 } else {
631 printk(KERN_NOTICE "Kernel or interrupt exception\n"); 631 printk(KERN_NOTICE "Kernel or interrupt exception\n");
632 print_modules();
632 } 633 }
633 634
634 if (retaddr >= (void *)FIXED_CODE_START && retaddr < (void *)physical_mem_end 635 if (retaddr >= (void *)FIXED_CODE_START && retaddr < (void *)physical_mem_end