diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/corerwlockimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/corerwlockimpl.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cpukit/score/include/rtems/score/corerwlockimpl.h b/cpukit/score/include/rtems/score/corerwlockimpl.h index ff881fa186..330d9acc55 100644 --- a/cpukit/score/include/rtems/score/corerwlockimpl.h +++ b/cpukit/score/include/rtems/score/corerwlockimpl.h @@ -71,10 +71,7 @@ RTEMS_INLINE_ROUTINE void _CORE_RWLock_Acquire_critical( Thread_queue_Context *queue_context ) { - _Thread_queue_Acquire_critical( - &the_rwlock->Wait_queue, - &queue_context->Lock_context - ); + _Thread_queue_Acquire_critical( &the_rwlock->Wait_queue, queue_context ); } RTEMS_INLINE_ROUTINE void _CORE_RWLock_Release( @@ -82,10 +79,7 @@ RTEMS_INLINE_ROUTINE void _CORE_RWLock_Release( Thread_queue_Context *queue_context ) { - _Thread_queue_Release( - &the_rwlock->Wait_queue, - &queue_context->Lock_context - ); + _Thread_queue_Release( &the_rwlock->Wait_queue, queue_context ); } /** |