Commit 23733211 authored by Mao Minkai's avatar Mao Minkai Committed by guzitao
Browse files

sw64: restart idle routine if it is interrupted

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I73O8F



--------------------------------

If need_resched() or HALT instruction is interrupted, restart from
need_resched() so we won't miss schedule request.

Signed-off-by: default avatarMao Minkai <maominkai@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent a46e289f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment