<div dir="ltr">What is this a remedy for?<div><br></div><div>Why isn't the helper method OK to use?</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 13, 2022 at 7:41 AM Strange369 <<a href="mailto:junjie.shi@tu-dortmund.de">junjie.shi@tu-dortmund.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
 cpukit/include/rtems/score/coremuteximpl.h | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/cpukit/include/rtems/score/coremuteximpl.h b/cpukit/include/rtems/score/coremuteximpl.h<br>
index d489a0d946..72d32f8030 100644<br>
--- a/cpukit/include/rtems/score/coremuteximpl.h<br>
+++ b/cpukit/include/rtems/score/coremuteximpl.h<br>
@@ -445,7 +445,7 @@ RTEMS_INLINE_ROUTINE Status_Control _CORE_ceiling_mutex_Set_owner(<br>
   scheduler_node = _Thread_Scheduler_get_home_node( owner );<br>
<br>
   if (<br>
-    _Priority_Get_priority( &scheduler_node->Wait.Priority )<br>
+    owner->Real_priority.priority<br>
       < the_mutex->Priority_ceiling.priority<br>
   ) {<br>
     _Thread_Wait_release_default_critical( owner, &lock_context );<br>
-- <br>
2.25.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>