summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/early_printk.c
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-11-21 16:46:49 +0800
committerBryan Wu <bryan.wu@analog.com>2007-11-21 16:46:49 +0800
commit49dce9124b41984bf1e918847bc17929c2e8f80f (patch)
tree6b973ed6cc1861da973dc67b3681c0fa95178522 /arch/blackfin/kernel/early_printk.c
parent9cb07b23dbc1c4c6ded49ba31d51b639a13970e3 (diff)
downloadblackbird-op-linux-49dce9124b41984bf1e918847bc17929c2e8f80f.tar.gz
blackbird-op-linux-49dce9124b41984bf1e918847bc17929c2e8f80f.zip
Blackfin arch: split apart dump_bfin_regs and merge/remove show_regs from process.c, which was largely duplicated
Signed-off-by: Mike Frysinger <michael.frysinger@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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/early_printk.c b/arch/blackfin/kernel/early_printk.c
index 6ec518a81113..724f4a5a1d46 100644
--- a/arch/blackfin/kernel/early_printk.c
+++ b/arch/blackfin/kernel/early_printk.c
@@ -205,7 +205,8 @@ 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_regs(fp, retaddr);
+ dump_bfin_mem((void *)fp->retx);
+ show_regs(fp);
dump_bfin_trace_buffer();
panic("Died early");
OpenPOWER on IntegriCloud