summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/cpu/arm/ChangeLog5
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 18b2a878a6..2063746928 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to
+ save space.
+
2007-11-26 Ray Xu <rayx.cn@gmail.com>
* cpu.c, score/cpu.h: Fix headers. Remove extra inline definition.
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