summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKyle McMartin <kyle@shortfin.cabal.ca>2008-02-19 08:26:46 +0100
committerKyle McMartin <kyle@shortfin.cabal.ca>2008-03-16 03:12:01 +0100
commitd0347b49c9a877a33c59f80de1a9dbabd5244205 (patch)
tree298b6c3569d75be6f199b95819488e24d23b00ec /arch
parent[PARISC] pdc_stable: fix compile errors (diff)
downloadlinux-d0347b49c9a877a33c59f80de1a9dbabd5244205.tar.xz
linux-d0347b49c9a877a33c59f80de1a9dbabd5244205.zip
[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')
-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 99fd56939afa..ce48c53fd275 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();
}