diff options
Diffstat (limited to 'cpukit/score/inline/rtems/score/coremutex.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/coremutex.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/inline/rtems/score/coremutex.inl b/cpukit/score/inline/rtems/score/coremutex.inl index 9f6d749b81..eb22e1d662 100644 --- a/cpukit/score/inline/rtems/score/coremutex.inl +++ b/cpukit/score/inline/rtems/score/coremutex.inl @@ -146,7 +146,7 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock_body( #ifdef __RTEMS_STRICT_ORDER_MUTEX__ _Chain_Prepend_unprotected( &executing->lock_mutex, &the_mutex->queue.lock_queue ); - the_mutex->queue.priority_before = executing->current_priority; + the_mutex->queue.priority_before = executing->Priority_node.current_priority; #endif executing->resource_count++; @@ -165,7 +165,7 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock_body( Priority_Control current; ceiling = the_mutex->Attributes.priority_ceiling; - current = executing->current_priority; + current = executing->Priority_node.current_priority; if ( current == ceiling ) { _ISR_Enable( *level_p ); return 0; |