summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-08 04:57:26 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-04-01 06:37:38 +0200
commit76d479a7caff58b1e5f31d80805f7f65f9177696 (patch)
tree4dcdbc7a866b180852138808b0acf3e1c894c5f3 /arch/powerpc/platforms
parentpowerpc/smp: Increase vdso_data->processorCount, not just decrease it (diff)
downloadlinux-76d479a7caff58b1e5f31d80805f7f65f9177696.tar.xz
linux-76d479a7caff58b1e5f31d80805f7f65f9177696.zip
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 <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/powermac/smp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index ce5b4f53aacb..a830c5e80657 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -951,13 +951,6 @@ static void pmac_cpu_die(void)
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
* happened while soft-disabled.