xref: /OK3568_Linux_fs/kernel/arch/arm/include/asm/exception.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Annotations for marking C functions as exception handlers.
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * These should only be used for C functions that are called from the low
6*4882a593Smuzhiyun  * level exception entry code and not any intervening C code.
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun #ifndef __ASM_ARM_EXCEPTION_H
9*4882a593Smuzhiyun #define __ASM_ARM_EXCEPTION_H
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #include <linux/interrupt.h>
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #ifdef CONFIG_FUNCTION_GRAPH_TRACER
14*4882a593Smuzhiyun #define __exception_irq_entry	__irq_entry
15*4882a593Smuzhiyun #else
16*4882a593Smuzhiyun #define __exception_irq_entry
17*4882a593Smuzhiyun #endif
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun #endif /* __ASM_ARM_EXCEPTION_H */
20