summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerpriorityupdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulerpriorityupdate.c')
-rw-r--r--cpukit/score/src/schedulerpriorityupdate.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/cpukit/score/src/schedulerpriorityupdate.c b/cpukit/score/src/schedulerpriorityupdate.c
index de3f02615c..062b36913c 100644
--- a/cpukit/score/src/schedulerpriorityupdate.c
+++ b/cpukit/score/src/schedulerpriorityupdate.c
@@ -25,15 +25,7 @@ void _Scheduler_priority_Update(
Thread_Control *the_thread
)
{
- Scheduler_priority_Per_thread *sched_info_of_thread =
- _Scheduler_priority_Get_scheduler_info( the_thread );
Chain_Control *ready_queues = _Scheduler_priority_Get_ready_queues();
- sched_info_of_thread->ready_chain =
- &ready_queues[ the_thread->current_priority ];
-
- _Priority_bit_map_Initialize_information(
- &sched_info_of_thread->Priority_map,
- the_thread->current_priority
- );
+ _Scheduler_priority_Update_body( the_thread, ready_queues );
}