summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/semaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/semaphore.c')
-rw-r--r--cpukit/score/src/semaphore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/semaphore.c b/cpukit/score/src/semaphore.c
index 72cb1c796d..be7d685105 100644
--- a/cpukit/score/src/semaphore.c
+++ b/cpukit/score/src/semaphore.c
@@ -62,12 +62,12 @@ static Thread_Control *_Semaphore_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(
&sem->Queue.Queue,
&executing->Potpourri_stats,
- &queue_context->Lock_context
+ &queue_context->Lock_context.Lock_context
);
return executing;
@@ -80,7 +80,7 @@ static void _Semaphore_Queue_release(
{
_Thread_queue_Queue_release(
&sem->Queue.Queue,
- &queue_context->Lock_context
+ &queue_context->Lock_context.Lock_context
);
}