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