summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-21 11:31:50 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-21 11:31:50 +0200
commit87e8f0e3e6d0b720a2462ebc5667eaa462752f74 (patch)
tree4acba282285d9a749ec7a6dd20ee4da297ba16ce /arch/sparc/kernel
parentsparc64: Fix hardirq tracing in trap return path. (diff)
downloadlinux-87e8f0e3e6d0b720a2462ebc5667eaa462752f74.tar.xz
linux-87e8f0e3e6d0b720a2462ebc5667eaa462752f74.zip
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/kernel')
-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];