Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / include / asm / exception.h
blob58e039a851af03400dcbf23efe49cc2f0deb67ef
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Annotations for marking C functions as exception handlers.
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
11 #include <linux/interrupt.h>
13 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
14 #define __exception_irq_entry __irq_entry
15 #else
16 #define __exception_irq_entry
17 #endif
19 #endif /* __ASM_ARM_EXCEPTION_H */