diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-03-07 22:57:26 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-01 00:37:38 -0400 |
commit | 76d479a7caff58b1e5f31d80805f7f65f9177696 (patch) | |
tree | 4dcdbc7a866b180852138808b0acf3e1c894c5f3 /arch/powerpc | |
parent | aeeafbfa7a5692c68d306043878aa2dd785e5230 (diff) |
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')
-rw-r--r-- | arch/powerpc/platforms/powermac/smp.c | 7 |
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) | |||
951 | smp_wmb(); | 951 | smp_wmb(); |
952 | 952 | ||
953 | /* | 953 | /* |
954 | * during the path that leads here preemption is disabled, | ||
955 | * reenable it now so that when coming up preempt count is | ||
956 | * zero correctly | ||
957 | */ | ||
958 | preempt_enable(); | ||
959 | |||
960 | /* | ||
961 | * Re-enable interrupts. The NAP code needs to enable them | 954 | * Re-enable interrupts. The NAP code needs to enable them |
962 | * anyways, do it now so we deal with the case where one already | 955 | * anyways, do it now so we deal with the case where one already |
963 | * happened while soft-disabled. | 956 | * happened while soft-disabled. |