From 3c103ba3064bed1bbabe34fc2072620170512a9f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 18 Feb 2016 08:47:26 +0100 Subject: score: Add _Per_CPU_Is_boot_processor() --- cpukit/score/src/smp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score/src/smp.c') 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 ); } -- cgit v1.2.3