aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@shortfin.cabal.ca>2008-02-19 02:26:46 -0500
committerKyle McMartin <kyle@shortfin.cabal.ca>2008-03-15 22:12:01 -0400
commitd0347b49c9a877a33c59f80de1a9dbabd5244205 (patch)
tree298b6c3569d75be6f199b95819488e24d23b00ec /arch/parisc
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')
-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)
148 print_symbol(" IAOQ[1]: %s\n", regs->iaoq[1]); 148 print_symbol(" IAOQ[1]: %s\n", regs->iaoq[1]);
149 printk(level); 149 printk(level);
150 print_symbol(" RP(r2): %s\n", regs->gr[2]); 150 print_symbol(" RP(r2): %s\n", regs->gr[2]);
151
152 dump_stack();
151} 153}
152 154
153 155