Commit e26ef8fe authored by Thomas Gleixner's avatar Thomas Gleixner

tile: Enter idle with preemption disabled

cpu_idle() needs to be called with preemption disabled.
Signed-off-by: default avatarThomas 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: default avatarCc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Acked-by: default avatarChris Metcalf <cmetcalf@tilera.com>
Link: http://lkml.kernel.org/r/20130321215235.280451779@linutronix.deSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent dc775dd8
...@@ -207,8 +207,6 @@ void __cpuinit online_secondary(void) ...@@ -207,8 +207,6 @@ void __cpuinit online_secondary(void)
/* Set up tile-timer clock-event device on this cpu */ /* Set up tile-timer clock-event device on this cpu */
setup_tile_timer(); setup_tile_timer();
preempt_enable();
cpu_idle(); cpu_idle();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment