Skip to content

Commit

Permalink
powerpc/pmac/smp: Remove no-longer needed preempt workaround
Browse files Browse the repository at this point in the history
The generic code properly re-initializes the preempt count in the
idle thread now

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Benjamin Herrenschmidt committed Apr 1, 2011
1 parent aeeafbf commit 76d479a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/powerpc/platforms/powermac/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76d479a

Please sign in to comment.