exception.h 532 B

1234567891011121314151617181920
  1. /*
  2. * Annotations for marking C functions as exception handlers.
  3. *
  4. * These should only be used for C functions that are called from the low
  5. * level exception entry code and not any intervening C code.
  6. */
  7. #ifndef __ASM_ARM_EXCEPTION_H
  8. #define __ASM_ARM_EXCEPTION_H
  9. #include <linux/interrupt.h>
  10. #define __exception __attribute__((section(".exception.text")))
  11. #ifdef CONFIG_FUNCTION_GRAPH_TRACER
  12. #define __exception_irq_entry __irq_entry
  13. #else
  14. #define __exception_irq_entry __exception
  15. #endif
  16. #endif /* __ASM_ARM_EXCEPTION_H */