diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-25 08:37:28 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-25 12:48:00 +0200 |
commit | 3f72dda6ee518d3ea04341ad4df079ecb1895ef7 (patch) | |
tree | a52af043ef1665ed4f23d404ee447eba449143ff /cpukit/score/include/rtems/score/corespinlockimpl.h | |
parent | 276dfd9f3db086eb5ee7099f7744f58d36ac8e8e (diff) |
posix: Fix pthread_spin_unlock() error status
Update #2719.
Diffstat (limited to 'cpukit/score/include/rtems/score/corespinlockimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/corespinlockimpl.h | 8 |
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 fe6f9b67f5..057a469b05 100644 --- a/cpukit/score/include/rtems/score/corespinlockimpl.h +++ b/cpukit/score/include/rtems/score/corespinlockimpl.h @@ -56,15 +56,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 |