diff options
author | Valentin Schneider <valentin.schneider@arm.com> | 2019-03-15 19:31:33 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-03-20 01:25:45 +0300 |
commit | b8f3b15a7ba0a91de86547de8bbd5a633db03ab1 (patch) | |
tree | c5b988262d0ae06bedd2045ccd772737493a3b30 /arch/mips/include/uapi/asm | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-b8f3b15a7ba0a91de86547de8bbd5a633db03ab1.tar.xz |
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 a18815abcdfd ("Use preempt_schedule_irq.") initially
removed the existing loop, but missed the final branch to restore_all.
Commit cdaed73afb61 ("Fix preemption bug.") missed that and reintroduced
the loop.
Signed-off-by: Valentin 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: Paul Burton <paul.burton@mips.com>
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/include/uapi/asm')
0 files changed, 0 insertions, 0 deletions