mirror of https://gitee.com/openkylin/linux.git
sparc64: Show stack backtrace from show_regs() just like other platforms.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
28a1f533ae
commit
87e8f0e3e6
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue