summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-27 20:49:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-27 20:49:27 +0000
commit248e29af6871c5dc694c2ae21a877c2b45bb1abb (patch)
treed99ea8f9064916acbde2c4a75d156d9e265e5c97 /cpukit
parent2007-11-27 Kate Feng <feng1@bnl.gov> (diff)
downloadrtems-248e29af6871c5dc694c2ae21a877c2b45bb1abb.tar.bz2
2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to save space.
Diffstat (limited to 'cpukit')
-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