summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadresume.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadresume.c')
-rw-r--r--cpukit/score/src/threadresume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadresume.c b/cpukit/score/src/threadresume.c
index cea8849537..4466b9621f 100644
--- a/cpukit/score/src/threadresume.c
+++ b/cpukit/score/src/threadresume.c
@@ -87,10 +87,10 @@ void _Thread_Resume(
_ISR_Flash( level );
- if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
+ if ( the_thread->Priority_node.current_priority < _Thread_Heir->Priority_node.current_priority ) {
_Thread_Heir = the_thread;
if ( _Thread_Executing->is_preemptible ||
- the_thread->current_priority == 0 )
+ the_thread->Priority_node.current_priority == 0 )
_Context_Switch_necessary = true;
}
}