Browse Source

Merge branch 'sh/stable-updates'

Paul Mundt 15 years ago
parent
commit
d0b873fc73
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/sh/kernel/idle.c

+ 2 - 0
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();
 }