summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/barrierimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/barrierimpl.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/barrierimpl.h7
1 files changed, 5 insertions, 2 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
+ );
}
/**@}*/