traps.h (5f5a00eaa1ddd3754963e077ff514ded9fc88b7a) traps.h (0a862485f42af7df530b0b5f0e5ba8ffbb3a4a12)
1#ifndef __ASM_TRAPS_H
2#define __ASM_TRAPS_H
3
4#ifdef __KERNEL__
5struct pt_regs;
6
7/* traps.c */
8void parisc_terminate(char *msg, struct pt_regs *regs,
9 int code, unsigned long offset) __noreturn __cold;
10
11void die_if_kernel(char *str, struct pt_regs *regs, long err);
12
13/* mm/fault.c */
1#ifndef __ASM_TRAPS_H
2#define __ASM_TRAPS_H
3
4#ifdef __KERNEL__
5struct pt_regs;
6
7/* traps.c */
8void parisc_terminate(char *msg, struct pt_regs *regs,
9 int code, unsigned long offset) __noreturn __cold;
10
11void die_if_kernel(char *str, struct pt_regs *regs, long err);
12
13/* mm/fault.c */
14const char *trap_name(unsigned long code);
14void do_page_fault(struct pt_regs *regs, unsigned long code,
15 unsigned long address);
16#endif
17
18#endif
15void do_page_fault(struct pt_regs *regs, unsigned long code,
16 unsigned long address);
17#endif
18
19#endif