mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
Merge branch 'sh/stable-updates'
This commit is contained in:
commit
d0b873fc73
@ -62,6 +62,7 @@ void default_idle(void)
|
||||
clear_thread_flag(TIF_POLLING_NRFLAG);
|
||||
smp_mb__after_clear_bit();
|
||||
|
||||
set_bl_bit();
|
||||
if (!need_resched()) {
|
||||
local_irq_enable();
|
||||
cpu_sleep();
|
||||
@ -69,6 +70,7 @@ void default_idle(void)
|
||||
local_irq_enable();
|
||||
|
||||
set_thread_flag(TIF_POLLING_NRFLAG);
|
||||
clear_bl_bit();
|
||||
} else
|
||||
poll_idle();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user