Commit 12deb660 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: clean up WARN_ON backtrace

From: Anton Blanchard <anton@samba.org>

clean up WARN_ON backtrace
parent ef02db51
...@@ -349,7 +349,7 @@ check_bug_trap(struct pt_regs *regs) ...@@ -349,7 +349,7 @@ check_bug_trap(struct pt_regs *regs)
printk(KERN_ERR "Badness in %s at %s:%d\n", printk(KERN_ERR "Badness in %s at %s:%d\n",
bug->function, bug->file, bug->function, bug->file,
(unsigned int)bug->line & ~BUG_WARNING_TRAP); (unsigned int)bug->line & ~BUG_WARNING_TRAP);
dump_stack(); show_stack(current, (void *)regs->gpr[1]);
return 1; return 1;
} }
printk(KERN_CRIT "kernel BUG in %s at %s:%d!\n", printk(KERN_CRIT "kernel BUG in %s at %s:%d!\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment