summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-05 20:21:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-05 20:21:18 +0000
commit449ba1bb29888f7bfebd24df34592f388d498da9 (patch)
treec6e480a37bc3075934980df4306cb940b77446d8 /cpukit
parent2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/itron/inline/rtems/itron/semaphore.inl6
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index db5a0a6543..200788d65a 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* posix/include/rtems/posix/key.h: Remove redundant prototypes for
inlines.
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 */
}