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/src/threaddispatch.c | |
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 '')
-rw-r--r-- | cpukit/score/src/threaddispatch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index 501db3a57e..e3c0ded97d 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -50,7 +50,8 @@ * no dispatch 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 ) { |