diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index db5a0a6543..200788d65a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-01-05 Joel Sherrill + + * itron/inline/rtems/itron/semaphore.inl: THREAD_STATUS_PROXY_BLOCKING + should only be defined in multiprocessing configurations. + 2009-01-05 Joel Sherrill * posix/include/rtems/posix/key.h: Remove redundant prototypes for 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 */ }