diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-07 15:35:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-20 10:17:35 +0200 |
commit | 99b35052ae1437dd17477152a6e04fa2e7e89c26 (patch) | |
tree | 8fbf2647fcecce562353bf8da53c6126cb457b58 /cpukit/score/src/schedulerpriorityupdate.c | |
parent | smp: Generalize Simple SMP scheduler (diff) | |
download | rtems-99b35052ae1437dd17477152a6e04fa2e7e89c26.tar.bz2 |
smp: Add Deterministic Priority SMP Scheduler
Diffstat (limited to 'cpukit/score/src/schedulerpriorityupdate.c')
-rw-r--r-- | cpukit/score/src/schedulerpriorityupdate.c | 10 |
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 ); } |