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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index cf712589ee..ab5c2a42b2 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -56,7 +56,11 @@ extern "C" {
* one subroutine call is avoided entirely.]
*/
+#if defined(__thumb__)
+#define CPU_INLINE_ENABLE_DISPATCH FALSE
+#else
#define CPU_INLINE_ENABLE_DISPATCH TRUE
+#endif
/*
* Should the body of the search loops in _Thread_queue_Enqueue_priority