From e99b0e2384adece89342ec897b153c2999502d20 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 21 Nov 2013 13:43:07 +0100 Subject: score: Use local variables for consistency --- cpukit/score/include/rtems/score/coremuteximpl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/score/include/rtems/score/coremuteximpl.h b/cpukit/score/include/rtems/score/coremuteximpl.h index aefddabcd8..d8e8bef081 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; -- cgit v1.2.3