summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/armv7m-context-switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm/armv7m-context-switch.c')
-rw-r--r--cpukit/score/cpu/arm/armv7m-context-switch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/cpu/arm/armv7m-context-switch.c b/cpukit/score/cpu/arm/armv7m-context-switch.c
index 0fd3c206d0..9814ed07a1 100644
--- a/cpukit/score/cpu/arm/armv7m-context-switch.c
+++ b/cpukit/score/cpu/arm/armv7m-context-switch.c
@@ -22,12 +22,11 @@
#include "config.h"
#endif
+#include <rtems/score/armv7m.h>
#include <rtems/score/percpu.h>
#ifdef ARM_MULTILIB_ARCH_V7M
-#include <rtems/score/armv7m.h>
-
void __attribute__((naked)) _CPU_Context_switch(
Context_Control *executing,
Context_Control *heir