cpu: Defer smpboot kthread unparking until CPU known to scheduler
[firefly-linux-kernel-4.4.55.git] / init / main.c
index 6f0f1c5ff8cc82c41b36f107f68732003c5b1dc3..a12548c93318b8354e332a1ca638f5105c451756 100644 (file)
@@ -384,6 +384,7 @@ static noinline void __init_refok rest_init(void)
        int pid;
 
        rcu_scheduler_starting();
+       smpboot_thread_init();
        /*
         * We need to spawn init first so that it obtains pid 1, however
         * the init task will end up wanting to create kthreads, which, if