traps.h 487 B

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