diff options
Diffstat (limited to 'cpukit/score/src/scheduleredfreleasejob.c')
-rw-r--r-- | cpukit/score/src/scheduleredfreleasejob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/scheduleredfreleasejob.c b/cpukit/score/src/scheduleredfreleasejob.c index 0fbf0f0f61..4c74c48699 100644 --- a/cpukit/score/src/scheduleredfreleasejob.c +++ b/cpukit/score/src/scheduleredfreleasejob.c @@ -32,7 +32,7 @@ static bool _Scheduler_EDF_Release_job_filter( node = _Scheduler_EDF_Thread_get_node( the_thread ); - current_priority = the_thread->current_priority; + current_priority = _Thread_Get_priority( the_thread ); new_priority = *new_priority_p; node->current_priority = new_priority; @@ -69,7 +69,7 @@ static bool _Scheduler_EDF_Cancel_job_filter( node = _Scheduler_EDF_Thread_get_node( the_thread ); - current_priority = the_thread->current_priority; + current_priority = _Thread_Get_priority( the_thread ); new_priority = node->background_priority; node->current_priority = new_priority; |