Linux 5.7.6
[linux/fpc-iii.git] / arch / parisc / include / asm / traps.h
blob8ecc1f0c0483d5a4a60dd44c08b6e49b9d3b776e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_TRAPS_H
3 #define __ASM_TRAPS_H
5 #define PARISC_ITLB_TRAP 6 /* defined by architecture. Do not change. */
7 #if !defined(__ASSEMBLY__)
8 struct pt_regs;
10 /* traps.c */
11 void parisc_terminate(char *msg, struct pt_regs *regs,
12 int code, unsigned long offset) __noreturn __cold;
14 void die_if_kernel(char *str, struct pt_regs *regs, long err);
16 /* mm/fault.c */
17 const char *trap_name(unsigned long code);
18 void do_page_fault(struct pt_regs *regs, unsigned long code,
19 unsigned long address);
20 #endif
22 #endif