Skip to content

Commit e26ef8f

Browse files
committed
tile: Enter idle with preemption disabled
cpu_idle() needs to be called with preemption disabled. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Paul McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Reviewed-by: Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Cc: Magnus Damm <magnus.damm@gmail.com> Acked-by: Chris Metcalf <cmetcalf@tilera.com> Link: http://lkml.kernel.org/r/20130321215235.280451779@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent dc775dd commit e26ef8f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/tile/kernel/smpboot.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ void __cpuinit online_secondary(void)
207207
/* Set up tile-timer clock-event device on this cpu */
208208
setup_tile_timer();
209209

210-
preempt_enable();
211-
212210
cpu_idle();
213211
}
214212

0 commit comments

Comments
 (0)