diff options
Diffstat (limited to 'cpukit/score/src/mutex.c')
-rw-r--r-- | cpukit/score/src/mutex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/mutex.c b/cpukit/score/src/mutex.c index b1311c0c53..bfa36ff994 100644 --- a/cpukit/score/src/mutex.c +++ b/cpukit/score/src/mutex.c @@ -78,12 +78,12 @@ static Thread_Control *_Mutex_Queue_acquire( { Thread_Control *executing; - _ISR_lock_ISR_disable( &queue_context->Lock_context ); + _ISR_lock_ISR_disable( &queue_context->Lock_context.Lock_context ); executing = _Thread_Executing; _Thread_queue_Queue_acquire_critical( &mutex->Queue.Queue, &executing->Potpourri_stats, - &queue_context->Lock_context + &queue_context->Lock_context.Lock_context ); return executing; @@ -96,7 +96,7 @@ static void _Mutex_Queue_release( { _Thread_queue_Queue_release( &mutex->Queue.Queue, - &queue_context->Lock_context + &queue_context->Lock_context.Lock_context ); } |