diff options
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/barrierimpl.h | 7 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/messageimpl.h | 2 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/semimpl.h | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/barrierimpl.h b/cpukit/rtems/include/rtems/rtems/barrierimpl.h index 91834b8362..f0b53e0cab 100644 --- a/cpukit/rtems/include/rtems/rtems/barrierimpl.h +++ b/cpukit/rtems/include/rtems/rtems/barrierimpl.h @@ -75,8 +75,11 @@ RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Get( ) { _Thread_queue_Context_initialize( queue_context ); - return (Barrier_Control *) - _Objects_Get( id, &queue_context->Lock_context, &_Barrier_Information ); + return (Barrier_Control *) _Objects_Get( + id, + &queue_context->Lock_context.Lock_context, + &_Barrier_Information + ); } /**@}*/ diff --git a/cpukit/rtems/include/rtems/rtems/messageimpl.h b/cpukit/rtems/include/rtems/rtems/messageimpl.h index 9c1da39975..df7cea6829 100644 --- a/cpukit/rtems/include/rtems/rtems/messageimpl.h +++ b/cpukit/rtems/include/rtems/rtems/messageimpl.h @@ -95,7 +95,7 @@ RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get( _Thread_queue_Context_initialize( queue_context ); return (Message_queue_Control *) _Objects_Get( id, - &queue_context->Lock_context, + &queue_context->Lock_context.Lock_context, &_Message_queue_Information ); } diff --git a/cpukit/rtems/include/rtems/rtems/semimpl.h b/cpukit/rtems/include/rtems/rtems/semimpl.h index 3259916d52..48b0a84c68 100644 --- a/cpukit/rtems/include/rtems/rtems/semimpl.h +++ b/cpukit/rtems/include/rtems/rtems/semimpl.h @@ -99,7 +99,7 @@ RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get( _Thread_queue_Context_initialize( queue_context ); return (Semaphore_Control *) _Objects_Get( id, - &queue_context->Lock_context, + &queue_context->Lock_context.Lock_context, &_Semaphore_Information ); } |