blob: 9cc149a0dbd1f35723c9e13b98c15fb939674435 [file] [log] [blame]
David Howellse839ca52012-03-28 18:30:03 +01001#ifndef __ASM_SH_TRAPS_H
2#define __ASM_SH_TRAPS_H
3
4#include <linux/compiler.h>
5
6#ifdef CONFIG_SUPERH32
David Howellsa1ce3922012-10-02 18:01:25 +01007# include <asm/traps_32.h>
David Howellse839ca52012-03-28 18:30:03 +01008#else
David Howellsa1ce3922012-10-02 18:01:25 +01009# include <asm/traps_64.h>
David Howellse839ca52012-03-28 18:30:03 +010010#endif
11
12BUILD_TRAP_HANDLER(address_error);
13BUILD_TRAP_HANDLER(debug);
14BUILD_TRAP_HANDLER(bug);
15BUILD_TRAP_HANDLER(breakpoint);
16BUILD_TRAP_HANDLER(singlestep);
17BUILD_TRAP_HANDLER(fpu_error);
18BUILD_TRAP_HANDLER(fpu_state_restore);
19BUILD_TRAP_HANDLER(nmi);
20
21#endif /* __ASM_SH_TRAPS_H */