diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-18 08:47:26 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-04 13:36:09 +0100 |
commit | 3c103ba3064bed1bbabe34fc2072620170512a9f (patch) | |
tree | ce854c928513885f48243a754a2ec1a6de9ae564 /cpukit/score/src/smp.c | |
parent | score: Add _SMP_Online_processors (diff) | |
download | rtems-3c103ba3064bed1bbabe34fc2072620170512a9f.tar.bz2 |
score: Add _Per_CPU_Is_boot_processor()
Diffstat (limited to 'cpukit/score/src/smp.c')
-rw-r--r-- | cpukit/score/src/smp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 68a55ffe4d..8049643a95 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -57,6 +57,8 @@ static void _SMP_Start_processors( uint32_t cpu_count ) } else { started = true; + cpu->boot = true; + if ( !_Scheduler_Should_start_processor( assignment ) ) { _SMP_Fatal( SMP_FATAL_BOOT_PROCESSOR_NOT_ASSIGNED_TO_SCHEDULER ); } |