summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-15 02:31:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-15 02:31:05 +0000
commiteed0ffceb4806bfd51221e414dc14fcd5a57a59e (patch)
treec47be3c7262c9cb2c98c9ae95928697f6e19c88a /cpukit
parent2011-02-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-eed0ffceb4806bfd51221e414dc14fcd5a57a59e.tar.bz2
2011-02-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/semtranslatereturncode.c, score/include/rtems/score/coremutex.h: Returns tests to running state.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/rtems/src/semtranslatereturncode.c2
-rw-r--r--cpukit/score/include/rtems/score/coremutex.h4
3 files changed, 9 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 96e255c014..854e67afc6 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * rtems/src/semtranslatereturncode.c,
+ score/include/rtems/score/coremutex.h: Returns tests to running
+ state.
+
2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c:
diff --git a/cpukit/rtems/src/semtranslatereturncode.c b/cpukit/rtems/src/semtranslatereturncode.c
index a5dd0edf47..02b665e5f6 100644
--- a/cpukit/rtems/src/semtranslatereturncode.c
+++ b/cpukit/rtems/src/semtranslatereturncode.c
@@ -70,7 +70,7 @@ const rtems_status_code _Semaphore_Translate_core_mutex_return_code_[] = {
RTEMS_NOT_OWNER_OF_RESOURCE, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */
RTEMS_OBJECT_WAS_DELETED, /* CORE_MUTEX_WAS_DELETED */
RTEMS_TIMEOUT, /* CORE_MUTEX_TIMEOUT */
-#if !defined(__RTEMS_STRICT_ORDER_MUTEX__)
+#if defined(__RTEMS_STRICT_ORDER_MUTEX__)
CORE_MUTEX_RELEASE_NOT_ORDER,
#endif
RTEMS_INVALID_PRIORITY /* CORE_MUTEX_STATUS_CEILING_VIOLATED */
diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h
index 5a0a800b28..084532f36d 100644
--- a/cpukit/score/include/rtems/score/coremutex.h
+++ b/cpukit/score/include/rtems/score/coremutex.h
@@ -105,7 +105,7 @@ typedef enum {
*/
CORE_MUTEX_TIMEOUT,
-#if !defined(__RTEMS_STRICT_ORDER_MUTEX__)
+#if defined(__RTEMS_STRICT_ORDER_MUTEX__)
/** This status indicates that a thread not release the mutex which has
* the priority inheritance property in a right order.
*/
@@ -197,7 +197,7 @@ typedef struct {
} CORE_mutex_Attributes;
#ifdef __RTEMS_STRICT_ORDER_MUTEX__
-/*@beief Core Mutex Lock_Chain Struct
+/*@brief Core Mutex Lock_Chain Struct
*
* The following defines the control block used to manage lock chain of
* priority inheritance mutex.