summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-25 08:37:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-25 12:43:54 +0200
commit9ec7d492b951efec32520bff7106e21e16e9c74d (patch)
tree95d49541ccbc8948b757dd1f0100335472d17371 /cpukit/score/include/rtems
parentscore: Move thread queue MP callout to context (diff)
downloadrtems-9ec7d492b951efec32520bff7106e21e16e9c74d.tar.bz2
posix: Fix pthread_spin_unlock() error status
Close #2719.
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r--cpukit/score/include/rtems/score/corespinlockimpl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/corespinlockimpl.h b/cpukit/score/include/rtems/score/corespinlockimpl.h
index 189bddb243..fd4fcf29db 100644
--- a/cpukit/score/include/rtems/score/corespinlockimpl.h
+++ b/cpukit/score/include/rtems/score/corespinlockimpl.h
@@ -58,15 +58,11 @@ typedef enum {
/** This status indicates that the spinlock is currently locked and thus
* unavailable.
*/
- CORE_SPINLOCK_UNAVAILABLE,
- /** This status indicates that the spinlock is not currently locked and thus
- * should not be released.
- */
- CORE_SPINLOCK_NOT_LOCKED
+ CORE_SPINLOCK_UNAVAILABLE
} CORE_spinlock_Status;
/** This is a shorthand for the last status code. */
-#define CORE_SPINLOCK_STATUS_LAST CORE_SPINLOCK_NOT_LOCKED
+#define CORE_SPINLOCK_STATUS_LAST CORE_SPINLOCK_UNAVAILABLE
/** This indicates the lock is available. */
#define CORE_SPINLOCK_UNLOCKED 0