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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent aeeafbfa
...@@ -950,13 +950,6 @@ static void pmac_cpu_die(void) ...@@ -950,13 +950,6 @@ static void pmac_cpu_die(void)
generic_set_cpu_dead(cpu); generic_set_cpu_dead(cpu);
smp_wmb(); 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 * Re-enable interrupts. The NAP code needs to enable them
* anyways, do it now so we deal with the case where one already * anyways, do it now so we deal with the case where one already
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment