From: Benjamin Herrenschmidt Date: Tue, 8 Mar 2011 03:57:26 +0000 (+1100) Subject: powerpc/pmac/smp: Remove no-longer needed preempt workaround X-Git-Tag: v2.6.39-rc2~31^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=76d479a7caff58b1e5f31d80805f7f65f9177696;p=~emulex%2Finfiniband.git powerpc/pmac/smp: Remove no-longer needed preempt workaround The generic code properly re-initializes the preempt count in the idle thread now Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index ce5b4f53aac..a830c5e8065 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c @@ -950,13 +950,6 @@ static void pmac_cpu_die(void) generic_set_cpu_dead(cpu); smp_wmb(); - /* - * during the path that leads here preemption is disabled, - * reenable it now so that when coming up preempt count is - * zero correctly - */ - preempt_enable(); - /* * Re-enable interrupts. The NAP code needs to enable them * anyways, do it now so we deal with the case where one already