ARC: Mark secondary cpu online only after all HW setup is done
authorNoam Camus <noamc@ezchip.com>
Sat, 7 Nov 2015 07:16:19 +0000 (09:16 +0200)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 9 May 2016 04:02:32 +0000 (09:32 +0530)
commit71f9cf8fdd72e5f5c3a60f632bd1534fc7996b81
treea9fccde6d736968655a0db372aa4df2f9e5ba22c
parent2a1021fce85cb9867f3655c58a9c826a3612fae9
ARC: Mark secondary cpu online only after all HW setup is done

In SMP setup, master loops for each_present_cpu calling cpu_up().
For ARC it returns as soon as new cpu's status becomes online,
However secondary may still do HW initializing,
machine or platform hook level.

So turn secondary online only after all HW setup is done.
Signed-off-by: Noam Camus <noamc@ezchip.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/smp.c