Skip to content
Commit 6633a5aa authored by Liu Yibin's avatar Liu Yibin Committed by Guo Ren
Browse files

csky: Fixup remove duplicate irq_disable



Interrupt has been disabled in __schedule() with local_irq_disable()
and enabled in finish_task_switch->finish_lock_switch() with
local_irq_enabled(), So needn't to disable irq here.

Signed-off-by: default avatarLiu Yibin <jiulong@linux.alibaba.com>
Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
parent 18c07d23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment