diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-05 20:21:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-05 20:21:18 +0000 |
commit | 449ba1bb29888f7bfebd24df34592f388d498da9 (patch) | |
tree | c6e480a37bc3075934980df4306cb940b77446d8 /cpukit/itron | |
parent | 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-449ba1bb29888f7bfebd24df34592f388d498da9.tar.bz2 |
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/inline/rtems/itron/semaphore.inl: THREAD_STATUS_PROXY_BLOCKING
should only be defined in multiprocessing configurations.
Diffstat (limited to 'cpukit/itron')
-rw-r--r-- | cpukit/itron/inline/rtems/itron/semaphore.inl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/itron/inline/rtems/itron/semaphore.inl b/cpukit/itron/inline/rtems/itron/semaphore.inl index 5341acf9af..c9e21729a3 100644 --- a/cpukit/itron/inline/rtems/itron/semaphore.inl +++ b/cpukit/itron/inline/rtems/itron/semaphore.inl @@ -176,8 +176,10 @@ RTEMS_INLINE_ROUTINE ER _ITRON_Semaphore_Translate_core_semaphore_return_code ( return E_TMOUT; case CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED: return E_QOVR; - case THREAD_STATUS_PROXY_BLOCKING: - return THREAD_STATUS_PROXY_BLOCKING; + #if defined(RTEMS_MULTIPROCESSING) + case THREAD_STATUS_PROXY_BLOCKING: + return THREAD_STATUS_PROXY_BLOCKING; + #endif } return E_OK; /* unreached - only to remove warnings */ } |