[PATCH] x86_64: Move cpu_present/possible_map parsing earlier
[pandora-kernel.git] / init / main.c
index d324801..b5e421e 100644 (file)
@@ -383,6 +383,13 @@ static void noinline rest_init(void)
        numa_default_policy();
        unlock_kernel();
        preempt_enable_no_resched();
+
+       /*
+        * The boot idle thread must execute schedule()
+        * at least one to get things moving:
+        */
+       schedule();
+
        cpu_idle();
 }