]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/smp: Fix generic_mach_cpu_die()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 10 Feb 2011 07:46:50 +0000 (18:46 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 1 Apr 2011 04:37:10 +0000 (15:37 +1100)
commit93ddb0c886161e259edcf75a1fe52df135883132
tree7a23046e93e04d47ab2cabfb5727531ba7fd3100
parentc76b8e8f239d655bd8b91ce8924ac9cda3efbe76
powerpc/smp: Fix generic_mach_cpu_die()

This is used by some "soft" hotplug implementations. I needs to
call idle_task_exit() when the CPU is going away, and we remove
the now no-longer needed set_cpu_online() and local_irq_enable()
which are handled by the return to start_secondary

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c