summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2013-05-18 14:38:02 -0400
committerGedare Bloom <gedare@rtems.org>2013-05-18 14:42:36 -0400
commit36a6f58ac56c3ae6f566215fd4fa13f838091f1e (patch)
tree2e873707fd0eb286363cdc6418c9e4abe166487b /cpukit
parentsmp: Add maximum_processors field to config (diff)
downloadrtems-36a6f58ac56c3ae6f566215fd4fa13f838091f1e.tar.bz2
score: use reference with strict mutex
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/src/coremutexsurrender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 86ac501ca3..a30bbb7f8d 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -47,7 +47,7 @@
* Check whether the holder release the mutex in LIFO order if not return
* error code.
*/
- if ( _Chain_First( holder->lock_mutex ) != &mutex->queue.lock_queue ) {
+ if ( _Chain_First( &holder->lock_mutex ) != &mutex->queue.lock_queue ) {
mutex->nest_count++;
return CORE_MUTEX_RELEASE_NOT_ORDER;