---
 cpukit/include/rtems/score/coremuteximpl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/include/rtems/score/coremuteximpl.h 
b/cpukit/include/rtems/score/coremuteximpl.h
index d489a0d946..72d32f8030 100644
--- a/cpukit/include/rtems/score/coremuteximpl.h
+++ b/cpukit/include/rtems/score/coremuteximpl.h
@@ -445,7 +445,7 @@ RTEMS_INLINE_ROUTINE Status_Control 
_CORE_ceiling_mutex_Set_owner(
   scheduler_node = _Thread_Scheduler_get_home_node( owner );
 
   if (
-    _Priority_Get_priority( &scheduler_node->Wait.Priority )
+    owner->Real_priority.priority
       < the_mutex->Priority_ceiling.priority
   ) {
     _Thread_Wait_release_default_critical( owner, &lock_context );
-- 
2.25.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to