From: Thomas Gleixner Date: Thu, 21 Mar 2013 21:50:00 +0000 (+0100) Subject: tile: Enter idle with preemption disabled X-Git-Tag: firefly_0821_release~3680^2~654^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e26ef8fe722d5c1c0c1a0212542da8fc2b21a89f;p=firefly-linux-kernel-4.4.55.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 e686c5ac90be..11c0190bb096 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(); }