diff options
Diffstat (limited to 'cpukit/score/src/schedulerpriorityupdate.c')
-rw-r--r-- | cpukit/score/src/schedulerpriorityupdate.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/src/schedulerpriorityupdate.c b/cpukit/score/src/schedulerpriorityupdate.c index 8ebaac7f75..a56acd08d1 100644 --- a/cpukit/score/src/schedulerpriorityupdate.c +++ b/cpukit/score/src/schedulerpriorityupdate.c @@ -25,7 +25,11 @@ void _Scheduler_priority_Update( Thread_Control *the_thread ) { - Chain_Control *ready_queues = _Scheduler_priority_Get_ready_queues(); + Scheduler_priority_Control *scheduler = _Scheduler_priority_Instance(); - _Scheduler_priority_Update_body( the_thread, ready_queues ); + _Scheduler_priority_Update_body( + the_thread, + &scheduler->Bit_map, + &scheduler->Ready[ 0 ] + ); } |