2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __ASM_TRAPS_H
|
|
|
|
#define __ASM_TRAPS_H
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
struct pt_regs;
|
|
|
|
|
|
|
|
/* traps.c */
|
|
|
|
void parisc_terminate(char *msg, struct pt_regs *regs,
|
2013-10-10 05:12:46 +08:00
|
|
|
int code, unsigned long offset) __noreturn __cold;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* mm/fault.c */
|
|
|
|
void do_page_fault(struct pt_regs *regs, unsigned long code,
|
|
|
|
unsigned long address);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|