aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/traps.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2016-10-11 20:49:42 +0200
committerHelge Deller <deller@gmx.de>2016-10-11 20:52:47 +0200
commit0a862485f42af7df530b0b5f0e5ba8ffbb3a4a12 (patch)
tree15623a89fecbbfbedcc6854ee148ee8ff2efe171 /arch/parisc/include/asm/traps.h
parentparisc: Zero-initialize newly alloced memblock (diff)
downloadlinux-dev-0a862485f42af7df530b0b5f0e5ba8ffbb3a4a12.tar.xz
linux-dev-0a862485f42af7df530b0b5f0e5ba8ffbb3a4a12.zip
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 '')
-rw-r--r--arch/parisc/include/asm/traps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/traps.h b/arch/parisc/include/asm/traps.h
index 5e953ab4530d..63670231f48a 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