]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitc56e58537d504706954a06570b4034c04e5b7500
tree403843557d3eb29fffcc06de2f88f16ec1ffea08
parent105765f451d3ff007bb4ae3761e825686d9615db
powerpc/smp: Create idle threads on demand and properly reset them

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>
arch/powerpc/kernel/smp.c