Commit 87e8f0e3 authored by David S. Miller's avatar David S. Miller

sparc64: Show stack backtrace from show_regs() just like other platforms.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 28a1f533
...@@ -202,6 +202,7 @@ void show_regs(struct pt_regs *regs) ...@@ -202,6 +202,7 @@ void show_regs(struct pt_regs *regs)
regs->u_regs[15]); regs->u_regs[15]);
printk("RPC: <%pS>\n", (void *) regs->u_regs[15]); printk("RPC: <%pS>\n", (void *) regs->u_regs[15]);
show_regwindow(regs); show_regwindow(regs);
show_stack(current, (unsigned long *) regs->u_regs[UREG_FP]);
} }
struct global_reg_snapshot global_reg_snapshot[NR_CPUS]; struct global_reg_snapshot global_reg_snapshot[NR_CPUS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment