From: Thomas Gleixner Date: Thu, 21 Mar 2013 21:50:00 +0000 (+0100) Subject: tile: Enter idle with preemption disabled X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=e26ef8fe722d5c1c0c1a0212542da8fc2b21a89f;p=linux-edison.git tile: Enter idle with preemption disabled cpu_idle() needs to be called with preemption disabled. Signed-off-by: Thomas Gleixner Cc: Linus Torvalds Cc: Rusty Russell Cc: Paul McKenney Cc: Peter Zijlstra Reviewed-by: Cc: Srivatsa S. Bhat Cc: Magnus Damm Acked-by: Chris Metcalf Link: http://lkml.kernel.org/r/20130321215235.280451779@linutronix.de Signed-off-by: Thomas Gleixner --- diff --git a/arch/tile/kernel/smpboot.c b/arch/tile/kernel/smpboot.c index e686c5ac90b..11c0190bb09 100644 --- a/arch/tile/kernel/smpboot.c +++ b/arch/tile/kernel/smpboot.c @@ -207,8 +207,6 @@ void __cpuinit online_secondary(void) /* Set up tile-timer clock-event device on this cpu */ setup_tile_timer(); - preempt_enable(); - cpu_idle(); }