nds32: ex-exit: Remove unneeded need_resched() loop
authorValentin Schneider <valentin.schneider@arm.com>
Mon, 11 Mar 2019 22:47:45 +0000 (22:47 +0000)
committerGreentime Hu <greentime@andestech.com>
Tue, 7 May 2019 09:52:09 +0000 (17:52 +0800)
commitaa0be0e022ff1ec333c6fe626879e03a037c7230
tree06dc31d7fec965e379c1fe28d34186334ac3688c
parent8ac7857406cd9dd14f5da42044f2d4b7cf5b6ae6
nds32: ex-exit: 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>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/ex-exit.S