]> git.karo-electronics.de Git - linux-beck.git/blobdiff - kernel/sched/core.c
Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-beck.git] / kernel / sched / core.c
index eb4131b8ad60771d204e14e3568c68639ffd284d..ea8a4769fea55bf2bd0d2b12ed6dae034dc62407 100644 (file)
@@ -83,6 +83,7 @@
 
 #include "sched.h"
 #include "../workqueue_sched.h"
+#include "../smpboot.h"
 
 #define CREATE_TRACE_POINTS
 #include <trace/events/sched.h>
@@ -7062,6 +7063,7 @@ void __init sched_init(void)
        /* May be allocated at isolcpus cmdline parse time */
        if (cpu_isolated_map == NULL)
                zalloc_cpumask_var(&cpu_isolated_map, GFP_NOWAIT);
+       idle_thread_set_boot_cpu();
 #endif
        init_sched_fair_class();