Merge branch 'sh/stable-updates'

This commit is contained in:
Paul Mundt 2009-12-21 11:58:17 +09:00
commit d0b873fc73
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ void default_idle(void)
clear_thread_flag(TIF_POLLING_NRFLAG); clear_thread_flag(TIF_POLLING_NRFLAG);
smp_mb__after_clear_bit(); smp_mb__after_clear_bit();
set_bl_bit();
if (!need_resched()) { if (!need_resched()) {
local_irq_enable(); local_irq_enable();
cpu_sleep(); cpu_sleep();
@ -69,6 +70,7 @@ void default_idle(void)
local_irq_enable(); local_irq_enable();
set_thread_flag(TIF_POLLING_NRFLAG); set_thread_flag(TIF_POLLING_NRFLAG);
clear_bl_bit();
} else } else
poll_idle(); poll_idle();
} }