aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/idle.c')
-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 aaff0037fcd7..8e47565dcfd1 100644
--- a/arch/sh/kernel/idle.c
+++ b/arch/sh/kernel/idle.c
@@ -92,6 +92,7 @@ void cpu_idle(void)
92 check_pgt_cache(); 92 check_pgt_cache();
93 rmb(); 93 rmb();
94 94
95 set_bl_bit();
95 local_irq_disable(); 96 local_irq_disable();
96 /* Don't trace irqs off for idle */ 97 /* Don't trace irqs off for idle */
97 stop_critical_timings(); 98 stop_critical_timings();
@@ -102,6 +103,7 @@ void cpu_idle(void)
102 */ 103 */
103 WARN_ON(irqs_disabled()); 104 WARN_ON(irqs_disabled());
104 start_critical_timings(); 105 start_critical_timings();
106 clear_bl_bit();
105 } 107 }
106 108
107 tick_nohz_restart_sched_tick(); 109 tick_nohz_restart_sched_tick();