sched: Cleanup cpu_active madness
[firefly-linux-kernel-4.4.55.git] / kernel / sched / core.c
index 95545126be1c772601d43414fab73a78bf889411..b1ccce819ce262b7ce652856d5e09d2fa09d4e76 100644 (file)
@@ -5410,7 +5410,7 @@ static int __cpuinit sched_cpu_active(struct notifier_block *nfb,
                                      unsigned long action, void *hcpu)
 {
        switch (action & ~CPU_TASKS_FROZEN) {
-       case CPU_ONLINE:
+       case CPU_STARTING:
        case CPU_DOWN_FAILED:
                set_cpu_active((long)hcpu, true);
                return NOTIFY_OK;