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