]> err.no Git - linux-2.6/blobdiff - init/main.c
[PATCH] name_to_dev_t warning fix
[linux-2.6] / init / main.c
index d324801729ba713938481fd4f3a8199fdc2eb6e9..b5e421e39ede7ec40d61da8345e8115a749dc0df 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();
 }