powerpc/smp: Create idle threads on demand and properly reset them
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 Mar 2011 03:40:04 +0000 (14:40 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 1 Apr 2011 04:37:34 +0000 (15:37 +1100)
Instead of creating idle threads at boot for all possible CPUs, we
create them on demand, like x86 or ARM, and we properly call init_idle
to re-initialize an idle thread when a CPU was unplugged and is now
re-plugged.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found