dump_stack: unify debug information printed by show_regs()
[deliverable/linux.git] / arch / c6x / kernel / traps.c
index 1be74e5b47885015b908fa4954d1113a9651d2cc..dcc2c2f6d67c8d24efd5d07ebaf54a4ee9510d55 100644 (file)
@@ -31,6 +31,7 @@ void __init trap_init(void)
 void show_regs(struct pt_regs *regs)
 {
        pr_err("\n");
+       show_regs_print_info(KERN_ERR);
        pr_err("PC: %08lx SP: %08lx\n", regs->pc, regs->sp);
        pr_err("Status: %08lx ORIG_A4: %08lx\n", regs->csr, regs->orig_a4);
        pr_err("A0: %08lx  B0: %08lx\n", regs->a0, regs->b0);
@@ -67,15 +68,6 @@ void show_regs(struct pt_regs *regs)
        pr_err("A31: %08lx  B31: %08lx\n", regs->a31, regs->b31);
 }
 
-void dump_stack(void)
-{
-       unsigned long stack;
-
-       show_stack(current, &stack);
-}
-EXPORT_SYMBOL(dump_stack);
-
-
 void die(char *str, struct pt_regs *fp, int nr)
 {
        console_verbose();
This page took 0.044624 seconds and 5 git commands to generate.