diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-27 20:49:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-27 20:49:27 +0000 |
commit | 248e29af6871c5dc694c2ae21a877c2b45bb1abb (patch) | |
tree | d99ea8f9064916acbde2c4a75d156d9e265e5c97 /cpukit/score/cpu/arm | |
parent | 2007-11-27 Kate Feng <feng1@bnl.gov> (diff) | |
download | rtems-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/score/cpu/arm')
-rw-r--r-- | cpukit/score/cpu/arm/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/cpu.h | 4 |
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 |