cpu: Defer smpboot kthread unparking until CPU known to scheduler
[firefly-linux-kernel-4.4.55.git] / include / linux / cpu.h
index d028721748d47b24780806f5b57bf14822726dc1..091badf0f6ba99152860ad3bf95f778e7cf90415 100644 (file)
@@ -73,6 +73,7 @@ enum {
        /* migration should happen before other stuff but after perf */
        CPU_PRI_PERF            = 20,
        CPU_PRI_MIGRATION       = 10,
+       CPU_PRI_SMPBOOT         = 9,
        /* bring up workqueues before normal notifiers and down after */
        CPU_PRI_WORKQUEUE_UP    = 5,
        CPU_PRI_WORKQUEUE_DOWN  = -5,
@@ -165,6 +166,7 @@ static inline void __unregister_cpu_notifier(struct notifier_block *nb)
 }
 #endif
 
+void smpboot_thread_init(void);
 int cpu_up(unsigned int cpu);
 void notify_cpu_starting(unsigned int cpu);
 extern void cpu_maps_update_begin(void);