ARM: SMP: wait for CPU to be marked active
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Jun 2011 15:46:01 +0000 (16:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jun 2011 10:09:05 +0000 (11:09 +0100)
commit573619d165b85152eeddd3b3871002c48cd94e42
treeee74480fe8ae9d09ace5cb1dd97bf1ea525249bc
parent9a00318eadbb43db4e9c163c262a22a3c8b5a672
ARM: SMP: wait for CPU to be marked active

When we bring a CPU online, we should wait for it to become active
before entering the idle thread, so we know that the scheduler and
thread migration is going to work.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c