]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RISC-V: entry: Remove unneeded need_resched() loop
authorValentin Schneider <valentin.schneider@arm.com>
Mon, 23 Sep 2019 14:36:17 +0000 (15:36 +0100)
committerPaul Walmsley <paul.walmsley@sifive.com>
Wed, 9 Oct 2019 23:48:27 +0000 (16:48 -0700)
commitcd9e72b80090a8cd7d84a47a30a06fa92ff277d1
tree0e4c829c10514379d9d9635d7e0bbc09ad7b1e65
parent8bb0daef64e5a92db63ad1d3bbf9e280a7b3612a
RISC-V: 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.

Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: linux-riscv@lists.infradead.org
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/kernel/entry.S