Skip to content
Unverified Commit b8f3b15a authored by Valentin Schneider's avatar Valentin Schneider Committed by Paul Burton
Browse files

MIPS: 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.

Note that commit a18815ab ("Use preempt_schedule_irq.") initially
removed the existing loop, but missed the final branch to restore_all.
Commit cdaed73a ("Fix preemption bug.") missed that and reintroduced
the loop.

Signed-off-by: default avatarValentin Schneider <valentin.schneider@arm.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Cc: linux-kernel@vger.kernel.org
parent 9e98c678
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