summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/smp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-18 08:47:26 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-04 13:36:09 +0100
commit3c103ba3064bed1bbabe34fc2072620170512a9f (patch)
treece854c928513885f48243a754a2ec1a6de9ae564 /cpukit/score/src/smp.c
parentscore: Add _SMP_Online_processors (diff)
downloadrtems-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.c2
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 );
}