--- cpukit/score/include/rtems/score/coremuteximpl.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/coremuteximpl.h b/cpukit/score/include/rtems/score/coremuteximpl.h index aefddab..d8e8bef 100644 --- a/cpukit/score/include/rtems/score/coremuteximpl.h +++ b/cpukit/score/include/rtems/score/coremuteximpl.h @@ -491,9 +491,9 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock_body( _Thread_Disable_dispatch(); _ISR_Enable( level ); _Thread_Change_priority( - the_mutex->holder, - the_mutex->Attributes.priority_ceiling, - false + executing, + ceiling, + false ); _Thread_Enable_dispatch(); return 0; -- 1.7.7 _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel