From: Will Deacon Date: Wed, 7 Nov 2012 17:00:05 +0000 (+0000) Subject: arm64: smp: add missing completion for secondary boot X-Git-Tag: v3.7-rc5~4^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3770b3252589240e50f560197a19531979abba2;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git arm64: smp: add missing completion for secondary boot Commit 149c24151e85 ("ARM: SMP: use a timing out completion for cpu hotplug") modified arm's CPU up path to use completions. It seems that we only got half of this patch for arm64, so add the missing call to complete. Reported-by: Jon Brawn Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 226b6bf..538300f 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -211,8 +211,7 @@ asmlinkage void __cpuinit secondary_start_kernel(void) * before we continue. */ set_cpu_online(cpu, true); - while (!cpu_active(cpu)) - cpu_relax(); + complete(&cpu_running); /* * OK, it's off to the idle thread for us