Changeset 2369b10 in rtems for cpukit/score/src/smp.c


Ignore:
Timestamp:
05/14/14 14:04:10 (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
f39f667a
Parents:
0f41cc3
git-author:
Sebastian Huber <sebastian.huber@…> (05/14/14 14:04:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/14/14 15:01:22)
Message:

score: Add and use _Scheduler_Get_context()

File:
1 edited

Legend:

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

    r0f41cc3 r2369b10  
    5959
    6060    if ( started ) {
    61       Scheduler_Context *scheduler_context = assignment->scheduler->context;
     61      Scheduler_Context *context =
     62        _Scheduler_Get_context( assignment->scheduler );
    6263
    63       ++scheduler_context->processor_count;
    64       cpu->scheduler_context = scheduler_context;
     64      ++context->processor_count;
     65      cpu->scheduler_context = context;
    6566    }
    6667  }
Note: See TracChangeset for help on using the changeset viewer.