summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-21 13:31:50 +0400
committerDavid S. Miller <davem@davemloft.net>2010-04-21 13:31:50 +0400
commit87e8f0e3e6d0b720a2462ebc5667eaa462752f74 (patch)
tree4acba282285d9a749ec7a6dd20ee4da297ba16ce /arch/sparc
parent28a1f533ae8606020238b840b82ae70a3f87609e (diff)
downloadlinux-87e8f0e3e6d0b720a2462ebc5667eaa462752f74.tar.xz
sparc64: Show stack backtrace from show_regs() just like other platforms.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/process_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c
index a5cf3864b31f..dbe81a368b45 100644
--- a/arch/sparc/kernel/process_64.c
+++ b/arch/sparc/kernel/process_64.c
@@ -202,6 +202,7 @@ void show_regs(struct pt_regs *regs)
regs->u_regs[15]);
printk("RPC: <%pS>\n", (void *) regs->u_regs[15]);
show_regwindow(regs);
+ show_stack(current, (unsigned long *) regs->u_regs[UREG_FP]);
}
struct global_reg_snapshot global_reg_snapshot[NR_CPUS];