summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadchangepriority.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadchangepriority.c')
-rw-r--r--cpukit/score/src/threadchangepriority.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c
index b3b3eeb615..d109dd9ec6 100644
--- a/cpukit/score/src/threadchangepriority.c
+++ b/cpukit/score/src/threadchangepriority.c
@@ -68,7 +68,7 @@ void _Thread_Change_priority(
/*
if ( prepend_it &&
_Thread_Is_executing( the_thread ) &&
- new_priority >= the_thread->current_priority )
+ new_priority >= the_thread->Priority_node.current_priority )
prepend_it = true;
*/
@@ -88,7 +88,7 @@ void _Thread_Change_priority(
* Do not bother recomputing all the priority related information if
* we are not REALLY changing priority.
*/
- if ( the_thread->current_priority != new_priority )
+ if ( the_thread->Priority_node.current_priority != new_priority )
_Thread_Set_priority( the_thread, new_priority );
_ISR_Disable( level );