aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/kernel/early_printk.c
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-12-23 22:57:01 +0800
committerBryan Wu <bryan.wu@analog.com>2007-12-23 22:57:01 +0800
commitb03b08ba9c7235861adf4dde712dade0bb756fe0 (patch)
tree224d56e1403405be9306702506102989f7a5e110 /arch/blackfin/kernel/early_printk.c
parent0d4a89bb3eb58f39831186fa6b1542893dbfdc9f (diff)
[Blackfin] arch: Clean up dump_bfin_mem
Clean up dump_bfin_mem so that it will display content from the kernel, as well as l1 instruction, when deferred HW errors happen, print out the last frame info if it makes sense. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/early_printk.c')
-rw-r--r--arch/blackfin/kernel/early_printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/early_printk.c b/arch/blackfin/kernel/early_printk.c
index 724f4a5a1d4..c892777267d 100644
--- a/arch/blackfin/kernel/early_printk.c
+++ b/arch/blackfin/kernel/early_printk.c
@@ -205,7 +205,7 @@ asmlinkage void __init early_trap_c(struct pt_regs *fp, void *retaddr)
if (likely(early_console == NULL))
setup_early_printk(DEFAULT_EARLY_PORT);
- dump_bfin_mem((void *)fp->retx);
+ dump_bfin_mem(fp);
show_regs(fp);
dump_bfin_trace_buffer();