xref: /openbmc/linux/arch/parisc/include/asm/traps.h (revision 0984d159)
1 #ifndef __ASM_TRAPS_H
2 #define __ASM_TRAPS_H
3 
4 #ifdef __KERNEL__
5 struct pt_regs;
6 
7 /* traps.c */
8 void parisc_terminate(char *msg, struct pt_regs *regs,
9 		int code, unsigned long offset) __noreturn __cold;
10 
11 void die_if_kernel(char *str, struct pt_regs *regs, long err);
12 
13 /* mm/fault.c */
14 void do_page_fault(struct pt_regs *regs, unsigned long code,
15 		unsigned long address);
16 #endif
17 
18 #endif
19