diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-10-11 14:18:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-10-11 14:18:03 +0000 |
commit | 6aa3ce3bfe3aa9ad05eb0a421c8761bdba40b4c1 (patch) | |
tree | 8d65af7cc2f1484e367d5c19742014840ea97565 /cpukit/score/inline/rtems/score/thread.inl | |
parent | 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-6aa3ce3bfe3aa9ad05eb0a421c8761bdba40b4c1.tar.bz2 |
2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/thread.inl, score/src/threaddispatch.c:
Correct conditionals so _Thread_Enable_dispatch() is always inlined
when intended.
Diffstat (limited to 'cpukit/score/inline/rtems/score/thread.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/thread.inl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl index f268817971..944aa9502d 100644 --- a/cpukit/score/inline/rtems/score/thread.inl +++ b/cpukit/score/inline/rtems/score/thread.inl @@ -220,7 +220,8 @@ RTEMS_INLINE_ROUTINE void _Thread_Disable_dispatch( void ) * processor will be transferred to the heir thread. */ -#if ( (CPU_INLINE_ENABLE_DISPATCH == FALSE) || \ +#if ( (defined(CPU_INLINE_ENABLE_DISPATCH) && \ + (CPU_INLINE_ENABLE_DISPATCH == FALSE)) || \ (__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1) ) void _Thread_Enable_dispatch( void ); #else |