summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/armv7m-exception-handler-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm/armv7m-exception-handler-get.c')
-rw-r--r--cpukit/score/cpu/arm/armv7m-exception-handler-get.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/cpu/arm/armv7m-exception-handler-get.c b/cpukit/score/cpu/arm/armv7m-exception-handler-get.c
index cf25cafe77..cf100778b8 100644
--- a/cpukit/score/cpu/arm/armv7m-exception-handler-get.c
+++ b/cpukit/score/cpu/arm/armv7m-exception-handler-get.c
@@ -22,12 +22,11 @@
#include "config.h"
#endif
+#include <rtems/score/armv7m.h>
#include <rtems/score/cpu.h>
#ifdef ARM_MULTILIB_ARCH_V7M
-#include <rtems/score/armv7m.h>
-
ARMV7M_Exception_handler _ARMV7M_Get_exception_handler( int index )
{
return _ARMV7M_SCB->vtor [index];