diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-29 15:32:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-30 07:57:33 +0200 |
commit | b6b25a9e68f2c34fe9cb5b69fc802b4b9f25d53b (patch) | |
tree | a7a2bf366f5635ade55c9afa5f445627ca7aa9d8 /cpukit/score/src/threadqenqueue.c | |
parent | score: _CPU_SMP_Send_interrupt() documentation (diff) | |
download | rtems-b6b25a9e68f2c34fe9cb5b69fc802b4b9f25d53b.tar.bz2 |
score: Fix thread lock on SMP configurations
Diffstat (limited to 'cpukit/score/src/threadqenqueue.c')
-rw-r--r-- | cpukit/score/src/threadqenqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadqenqueue.c b/cpukit/score/src/threadqenqueue.c index 8bd19058ff..f014fc5781 100644 --- a/cpukit/score/src/threadqenqueue.c +++ b/cpukit/score/src/threadqenqueue.c @@ -257,7 +257,7 @@ Thread_Control *_Thread_queue_Do_dequeue( the_thread = _Thread_queue_First_locked( the_thread_queue, operations ); if ( the_thread != NULL ) { - _SMP_Assert( the_thread->Lock.current == &the_thread_queue->Queue.Lock ); + _SMP_Assert( the_thread->Lock.current.normal == &the_thread_queue->Queue.Lock ); _Thread_queue_Extract_critical( &the_thread_queue->Queue, |