xref: /linux/arch/parisc/include/asm/traps.h (revision c4ee0af3fa0dc65f690fc908f02b8355f9576ea0)
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 /* mm/fault.c */
12 void do_page_fault(struct pt_regs *regs, unsigned long code,
13 		unsigned long address);
14 #endif
15 
16 #endif
17