summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/exception.h')
-rw-r--r--arch/arm/include/asm/exception.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/include/asm/exception.h b/arch/arm/include/asm/exception.h
index 5abaf5bbd985..3c82975d46db 100644
--- a/arch/arm/include/asm/exception.h
+++ b/arch/arm/include/asm/exception.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Annotations for marking C functions as exception handlers.
*
@@ -7,13 +8,8 @@
#ifndef __ASM_ARM_EXCEPTION_H
#define __ASM_ARM_EXCEPTION_H
-#include <linux/ftrace.h>
+#include <linux/interrupt.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_ARM_EXCEPTION_H */