mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-11 11:09:13 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -430,8 +430,8 @@ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
|
||||||
}
|
}
|
||||||
|
|
||||||
printk("\n");
|
printk("\n");
|
||||||
pr_crit("%s: Code=%d (%s) regs=%p (Addr=" RFMT ")\n",
|
pr_crit("%s: Code=%d (%s) at addr " RFMT "\n",
|
||||||
msg, code, trap_name(code), regs, offset);
|
msg, code, trap_name(code), offset);
|
||||||
show_regs(regs);
|
show_regs(regs);
|
||||||
|
|
||||||
spin_unlock(&terminate_lock);
|
spin_unlock(&terminate_lock);
|
||||||
|
|
Loading…
Reference in a new issue