powerpc/entry: Remove unneeded need_resched() loop

Since the enabling and disabling of IRQs within preempt_schedule_irq()
is contained in a need_resched() loop, we don't need the outer arch
code loop.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
[mpe: Rebase since CURRENT_THREAD_INFO() removal]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Valentin Schneider 2019-03-11 22:47:46 +00:00 • committed by Michael Ellerman
commit 90437bffa5
2 changed files with 2 additions and 11 deletions