forked from luck/tmp_suning_uos_patched
parisc: Clean up crash header output
On kernel crash, this is the current output: Kernel Fault: Code=26 (Data memory access rights trap) regs=(ptrval) (Addr=00000004) Drop the address of regs, it's of no use for debugging, and show the faulty address without parenthesis. Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
8dbac7746e
commit
e98bc5ee97
|
@ -430,8 +430,8 @@ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
|
|||
}
|
||||
|
||||
printk("\n");
|
||||
pr_crit("%s: Code=%d (%s) regs=%p (Addr=" RFMT ")\n",
|
||||
msg, code, trap_name(code), regs, offset);
|
||||
pr_crit("%s: Code=%d (%s) at addr " RFMT "\n",
|
||||
msg, code, trap_name(code), offset);
|
||||
show_regs(regs);
|
||||
|
||||
spin_unlock(&terminate_lock);
|
||||
|
|
Loading…
Reference in New Issue
Block a user