cpu_idle() needs to be called with preemption disabled.

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Chris Metcalf <[email protected]>
---
 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();
 }
 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to