diff options
author | Gedare Bloom <gedare@rtems.org> | 2013-05-18 14:38:02 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-05-18 14:42:36 -0400 |
commit | 36a6f58ac56c3ae6f566215fd4fa13f838091f1e (patch) | |
tree | 2e873707fd0eb286363cdc6418c9e4abe166487b /cpukit/score/src/coremutexsurrender.c | |
parent | smp: Add maximum_processors field to config (diff) | |
download | rtems-36a6f58ac56c3ae6f566215fd4fa13f838091f1e.tar.bz2 |
score: use reference with strict mutex
Diffstat (limited to 'cpukit/score/src/coremutexsurrender.c')
-rw-r--r-- | cpukit/score/src/coremutexsurrender.c | 2 |
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; |