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)
commit4fcb8833af3355065bd8bffcd338eabc6f3a38a0
tree7a23046e93e04d47ab2cabfb5727531ba7fd3100
parentfa3f82c8bb7acbe049ea71f258b3ae0a33d9d40b
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