[rtems commit] score: Use local variables for consistency

Sebastian Huber sebh at rtems.org
Tue Nov 26 08:55:41 UTC 2013


Module:    rtems
Branch:    master
Commit:    e99b0e2384adece89342ec897b153c2999502d20
Changeset: http://git.rtems.org/rtems/commit/?id=e99b0e2384adece89342ec897b153c2999502d20

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov 21 13:43:07 2013 +0100

score: Use local variables for consistency

---

 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;




More information about the vc mailing list