diff options
Diffstat (limited to 'cpukit/score/src/smp.c')
-rw-r--r-- | cpukit/score/src/smp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 519b152d87..2f86c6e175 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -58,7 +58,10 @@ static void _SMP_Start_processors( uint32_t cpu_count ) cpu->started = started; if ( started ) { - ++assignment->scheduler->context->processor_count; + Scheduler_Context *scheduler_context = assignment->scheduler->context; + + ++scheduler_context->processor_count; + cpu->scheduler_context = scheduler_context; } } } |