score: Fix priority affinity SMP scheduler

Bug introduced by 9bfad8cd51.
This commit is contained in:
Sebastian Huber
2016-07-01 11:51:48 +02:00
parent 4280dff7cf
commit 4142f73762
@@ -306,10 +306,18 @@ static void _Scheduler_priority_affinity_SMP_Check_for_migrations(
Scheduler_Context *context
)
{
Scheduler_Node *lowest_scheduled;
Scheduler_Node *highest_ready;
Scheduler_priority_SMP_Context *self;
Scheduler_Node *lowest_scheduled;
Scheduler_Node *highest_ready;
self = _Scheduler_priority_SMP_Get_self( context );
while (1) {
if ( _Priority_bit_map_Is_empty( &self->Bit_map ) ) {
/* Nothing to do */
break;
}
highest_ready =
_Scheduler_priority_affinity_SMP_Get_highest_ready( context, NULL );