License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / parisc / include / asm / traps.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef __ASM_TRAPS_H
3#define __ASM_TRAPS_H
4
5#ifdef __KERNEL__
6struct pt_regs;
7
8/* traps.c */
9void parisc_terminate(char *msg, struct pt_regs *regs,
a60ac4b5 10 int code, unsigned long offset) __noreturn __cold;
1da177e4 11
58f1c654
HD
12void die_if_kernel(char *str, struct pt_regs *regs, long err);
13
1da177e4 14/* mm/fault.c */
0a862485 15const char *trap_name(unsigned long code);
1da177e4
LT
16void do_page_fault(struct pt_regs *regs, unsigned long code,
17 unsigned long address);
18#endif
19
20#endif