diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-31 08:22:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 10:05:45 +0100 |
commit | 7f7424329eafab755381bc638c2cdddc152a909b (patch) | |
tree | e0daf5ad4cfee57c14c7f2710aabd506a6868033 /cpukit/score/include/rtems/score/coremuteximpl.h | |
parent | score: Delete Thread_Scheduler_control::node (diff) | |
download | rtems-7f7424329eafab755381bc638c2cdddc152a909b.tar.bz2 |
score: Delete Thread_Scheduler_control::own_node
Update #2556.
Diffstat (limited to 'cpukit/score/include/rtems/score/coremuteximpl.h')
-rw-r--r-- | 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 2580606a9a..5078c26c0a 100644 --- a/cpukit/score/include/rtems/score/coremuteximpl.h +++ b/cpukit/score/include/rtems/score/coremuteximpl.h @@ -280,16 +280,16 @@ RTEMS_INLINE_ROUTINE Status_Control _CORE_ceiling_mutex_Set_owner( ) { ISR_lock_Context lock_context; - Scheduler_Node *own_node; + Scheduler_Node *scheduler_node; Per_CPU_Control *cpu_self; _Thread_queue_Context_clear_priority_updates( queue_context ); _Thread_Wait_acquire_default_critical( owner, &lock_context ); - own_node = _Thread_Scheduler_get_own_node( owner ); + scheduler_node = _Thread_Scheduler_get_home_node( owner ); if ( - own_node->Wait.Priority.Node.priority + _Priority_Get_priority( &scheduler_node->Wait.Priority ) < the_mutex->Priority_ceiling.priority ) { _Thread_Wait_release_default_critical( owner, &lock_context ); |