diff options
author | Helge Deller <deller@gmx.de> | 2016-10-11 20:49:42 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-10-11 20:52:47 +0200 |
commit | 0a862485f42af7df530b0b5f0e5ba8ffbb3a4a12 (patch) | |
tree | 15623a89fecbbfbedcc6854ee148ee8ff2efe171 /arch/parisc/include/asm | |
parent | e3b6a02816ebbda3acfde2f079446ba92c97e70b (diff) | |
download | op-kernel-dev-0a862485f42af7df530b0b5f0e5ba8ffbb3a4a12.zip op-kernel-dev-0a862485f42af7df530b0b5f0e5ba8ffbb3a4a12.tar.gz |
parisc: Show trap name in kernel crash
Show the real trap name when the kernel crashes.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm')
-rw-r--r-- | arch/parisc/include/asm/traps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/traps.h b/arch/parisc/include/asm/traps.h index 5e953ab..6367023 100644 --- a/arch/parisc/include/asm/traps.h +++ b/arch/parisc/include/asm/traps.h @@ -11,6 +11,7 @@ void parisc_terminate(char *msg, struct pt_regs *regs, void die_if_kernel(char *str, struct pt_regs *regs, long err); /* mm/fault.c */ +const char *trap_name(unsigned long code); void do_page_fault(struct pt_regs *regs, unsigned long code, unsigned long address); #endif |