[PATCH 1/3] score: Use local variables for consistency

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 25 14:32:34 UTC 2013


---
 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




More information about the devel mailing list