Browse Source

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>
Helge Deller 6 years ago
parent
commit
e98bc5ee97
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/parisc/kernel/traps.c

+ 2 - 2
arch/parisc/kernel/traps.c

@@ -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",
-		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);
 	show_regs(regs);
 
 
 	spin_unlock(&terminate_lock);
 	spin_unlock(&terminate_lock);