diff options
Diffstat (limited to 'arch/arm64/include/asm/exception.h')
| -rw-r--r-- | arch/arm64/include/asm/exception.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/exception.h b/arch/arm64/include/asm/exception.h index 0303705fcad6..6cb7e1a6bc02 100644 --- a/arch/arm64/include/asm/exception.h +++ b/arch/arm64/include/asm/exception.h @@ -18,7 +18,13 @@  #ifndef __ASM_EXCEPTION_H  #define __ASM_EXCEPTION_H +#include <linux/ftrace.h> +  #define __exception	__attribute__((section(".exception.text"))) +#ifdef CONFIG_FUNCTION_GRAPH_TRACER +#define __exception_irq_entry	__irq_entry +#else  #define __exception_irq_entry	__exception +#endif  #endif	/* __ASM_EXCEPTION_H */  |