sparc64: Show stack backtrace from show_regs() just like other platforms.
authorDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2010 09:31:50 +0000 (02:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2010 09:31:50 +0000 (02:31 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/process_64.c

index a5cf3864b31f87dcabf7abe4ea1e96be693b54b4..dbe81a368b4588001bb4cb56b20283a08cfcc264 100644 (file)
@@ -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];