]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
5a567d78 JI |
2 | /* |
3 | * Annotations for marking C functions as exception handlers. | |
4 | * | |
5 | * These should only be used for C functions that are called from the low | |
6 | * level exception entry code and not any intervening C code. | |
7 | */ | |
8 | #ifndef __ASM_ARM_EXCEPTION_H | |
9 | #define __ASM_ARM_EXCEPTION_H | |
10 | ||
be7635e7 | 11 | #include <linux/interrupt.h> |
5a567d78 | 12 | |
5a567d78 JI |
13 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
14 | #define __exception_irq_entry __irq_entry | |
15 | #else | |
c6089061 | 16 | #define __exception_irq_entry |
5a567d78 JI |
17 | #endif |
18 | ||
19 | #endif /* __ASM_ARM_EXCEPTION_H */ |