aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-12-21 11:58:17 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-12-21 11:58:17 +0900
commitd0b873fc73b793277c8a0824ce986b5bfeaef157 (patch)
tree528a9b4db73e0d9ca7a359e056e3c308745973b7
parent5d9b4b19f118abfb75e352841f7bf74580d7e427 (diff)
parent73a38b839b9295216e8d44dabf54de88270e77b8 (diff)
Merge branch 'sh/stable-updates'
-rw-r--r--arch/sh/kernel/idle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
index aaff0037fcd..6b3d706deac 100644
--- a/arch/sh/kernel/idle.c
+++ b/arch/sh/kernel/idle.c
@@ -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();
}