]> git.baikalelectronics.ru Git - kernel.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)
commit54789c108e288d5e69fec6f6cb60f395d182654d
tree403843557d3eb29fffcc06de2f88f16ec1ffea08
parentce594efca78e6d8fa490387698ff21d900a08bb2
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