]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86_64/kernel/smpboot.c
[PATCH] sched: disable preempt in idle tasks
[net-next-2.6.git] / arch / x86_64 / kernel / smpboot.c
index 4b5b088ec1022a5d28c6e0e2dae76df9c4eed785..c4e59bbdc1872b4ce599f452b125183603cf8f8e 100644 (file)
@@ -472,6 +472,7 @@ void __cpuinit start_secondary(void)
         * things done here to the most necessary things.
         */
        cpu_init();
+       preempt_disable();
        smp_callin();
 
        /* otherwise gcc will move up the smp_processor_id before the cpu_init */