From 2f78c2042bb775b692fa95f2a656a2ac831234c1 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Thu, 22 Sep 2016 20:04:34 +0200 Subject: [PATCH] only single kernel has to wakeup th application processors - in the multi kernel environment, Linux wakeups the application processors --- hermit/arch/x86/kernel/apic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hermit/arch/x86/kernel/apic.c b/hermit/arch/x86/kernel/apic.c index 287001ca8..b6a2f84f8 100644 --- a/hermit/arch/x86/kernel/apic.c +++ b/hermit/arch/x86/kernel/apic.c @@ -624,7 +624,8 @@ int apic_calibration(void) } #if MAX_CORES > 1 - smp_init(); + if (is_single_kernel()) + smp_init(); #endif return 0;