David Howells | e839ca5 | 2012-03-28 18:30:03 +0100 | [diff] [blame^] | 1 | #ifndef __ASM_SH_TRAPS_H |
| 2 | #define __ASM_SH_TRAPS_H |
| 3 | |
| 4 | #include <linux/compiler.h> |
| 5 | |
| 6 | #ifdef CONFIG_SUPERH32 |
| 7 | # include "traps_32.h" |
| 8 | #else |
| 9 | # include "traps_64.h" |
| 10 | #endif |
| 11 | |
| 12 | BUILD_TRAP_HANDLER(address_error); |
| 13 | BUILD_TRAP_HANDLER(debug); |
| 14 | BUILD_TRAP_HANDLER(bug); |
| 15 | BUILD_TRAP_HANDLER(breakpoint); |
| 16 | BUILD_TRAP_HANDLER(singlestep); |
| 17 | BUILD_TRAP_HANDLER(fpu_error); |
| 18 | BUILD_TRAP_HANDLER(fpu_state_restore); |
| 19 | BUILD_TRAP_HANDLER(nmi); |
| 20 | |
| 21 | #endif /* __ASM_SH_TRAPS_H */ |