traps.h 448 B

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