aboutsummaryrefslogtreecommitdiff
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorKyle McMartin <kyle@shortfin.cabal.ca>2008-02-18 23:26:46 -0800
committerKyle McMartin <kyle@shortfin.cabal.ca>2008-03-15 19:12:01 -0700
commitd0347b49c9a877a33c59f80de1a9dbabd5244205 (patch)
tree298b6c3569d75be6f199b95819488e24d23b00ec /arch/parisc/kernel
parentff451d70593040df1a7c3df80a38e9ce530e12e0 (diff)
[PARISC] dump_stack in show_regs
Originally, show_stack was used in BUG() output. However, a recent commit changed it to print register state (no idea what that's supposed to help, really...) and parisc was missing a backtrace because of it. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/traps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index 99fd56939af..ce48c53fd27 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -148,6 +148,8 @@ void show_regs(struct pt_regs *regs)
print_symbol(" IAOQ[1]: %s\n", regs->iaoq[1]);
printk(level);
print_symbol(" RP(r2): %s\n", regs->gr[2]);
+
+ dump_stack();
}