xref: /linux/arch/parisc/include/asm/traps.h (revision a60ac4b5f0b630889a01293db52ac65003a01e98)
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,
9*a60ac4b5SHelge Deller 		int code, unsigned long offset) __noreturn __cold;
10deae26bfSKyle McMartin 
11deae26bfSKyle McMartin /* mm/fault.c */
12deae26bfSKyle McMartin void do_page_fault(struct pt_regs *regs, unsigned long code,
13deae26bfSKyle McMartin 		unsigned long address);
14deae26bfSKyle McMartin #endif
15deae26bfSKyle McMartin 
16deae26bfSKyle McMartin #endif
17