Changeset 4142f73 in rtems


Ignore:
Timestamp:
Jul 1, 2016, 9:50:41 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
23dedc44
Parents:
4280dff7
git-author:
Sebastian Huber <sebastian.huber@…> (07/01/16 09:50:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/01/16 09:51:48)
Message:

score: Fix priority affinity SMP scheduler

Bug introduced by 9bfad8cd519f17cbb26a672868169fcd304d5bd5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/schedulerpriorityaffinitysmp.c

    r4280dff7 r4142f73  
    307307)
    308308{
    309   Scheduler_Node        *lowest_scheduled;
    310   Scheduler_Node        *highest_ready;
     309  Scheduler_priority_SMP_Context *self;
     310  Scheduler_Node                 *lowest_scheduled;
     311  Scheduler_Node                 *highest_ready;
     312
     313  self = _Scheduler_priority_SMP_Get_self( context );
    311314
    312315  while (1) {
     316    if ( _Priority_bit_map_Is_empty( &self->Bit_map ) ) {
     317      /* Nothing to do */
     318      break;
     319    }
     320
    313321    highest_ready =
    314322      _Scheduler_priority_affinity_SMP_Get_highest_ready( context, NULL );
Note: See TracChangeset for help on using the changeset viewer.