summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index 6a57ac85e5..df3034134c 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -210,10 +210,12 @@
#endif
#ifdef ARM_MULTILIB_ARCH_V4
- #ifdef ARM_MULTILIB_VFP
+ #if defined(ARM_MULTILIB_VFP)
#define ARM_CONTEXT_CONTROL_ISR_DISPATCH_DISABLE 112
- #else
+ #elif defined(ARM_MULTILIB_HAS_THREAD_ID_REGISTER)
#define ARM_CONTEXT_CONTROL_ISR_DISPATCH_DISABLE 48
+ #else
+ #define ARM_CONTEXT_CONTROL_ISR_DISPATCH_DISABLE 44
#endif
#endif