Linux 4.18.10
[linux/fpc-iii.git] / arch / parisc / include / asm / traps.h
blobe00013248907e771a12b8543be2326d0f3c7980c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_TRAPS_H
3 #define __ASM_TRAPS_H
5 #ifdef __KERNEL__
6 struct pt_regs;
8 /* traps.c */
9 void parisc_terminate(char *msg, struct pt_regs *regs,
10 int code, unsigned long offset) __noreturn __cold;
12 void die_if_kernel(char *str, struct pt_regs *regs, long err);
14 /* mm/fault.c */
15 const char *trap_name(unsigned long code);
16 void do_page_fault(struct pt_regs *regs, unsigned long code,
17 unsigned long address);
18 #endif
20 #endif