[patch 30/34] tile: Enter idle with preemption disabled

Thomas Gleixner
2013-03-21T21:54:46Z

[-- Attachment #1: tile-enter-secondary-idle-with-preempt-disabled.patch --]
[-- Type: text/plain, Size: 605 bytes --]

cpu_idle() needs to be called with preemption disabled.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Chris Metcalf <cmetcalf@tilera.com>
---
arch/tile/kernel/smpboot.c | 2 --
1 file changed, 2 deletions(-)

Index: linux-2.6/arch/tile/kernel/smpboot.c
===================================================================
--- linux-2.6.orig/arch/tile/kernel/smpboot.c
+++ linux-2.6/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();
}