]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
e839ca52 DH |
2 | #ifndef __ASM_SH_TRAPS_H |
3 | #define __ASM_SH_TRAPS_H | |
4 | ||
5 | #include <linux/compiler.h> | |
6 | ||
7 | #ifdef CONFIG_SUPERH32 | |
a1ce3928 | 8 | # include <asm/traps_32.h> |
e839ca52 | 9 | #else |
a1ce3928 | 10 | # include <asm/traps_64.h> |
e839ca52 DH |
11 | #endif |
12 | ||
13 | BUILD_TRAP_HANDLER(address_error); | |
14 | BUILD_TRAP_HANDLER(debug); | |
15 | BUILD_TRAP_HANDLER(bug); | |
16 | BUILD_TRAP_HANDLER(breakpoint); | |
17 | BUILD_TRAP_HANDLER(singlestep); | |
18 | BUILD_TRAP_HANDLER(fpu_error); | |
19 | BUILD_TRAP_HANDLER(fpu_state_restore); | |
20 | BUILD_TRAP_HANDLER(nmi); | |
21 | ||
22 | #endif /* __ASM_SH_TRAPS_H */ |