summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-11-18 00:20:49 +0800
committerBryan Wu <bryan.wu@analog.com>2007-11-18 00:20:49 +0800
commit4c26c6c9bf1837ef413c18055d38f0b70af8574e (patch)
treedd64ee4199fdbab2c1420cbfb358ab513dd28f26 /arch/blackfin
parent5c91fb902d4e6f6006faf45edd3f25932cb7d58c (diff)
downloadop-kernel-dev-4c26c6c9bf1837ef413c18055d38f0b70af8574e.zip
op-kernel-dev-4c26c6c9bf1837ef413c18055d38f0b70af8574e.tar.gz
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')
-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
OpenPOWER on IntegriCloud