diff options
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 4603b9d8f30a..6a63cde23d03 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -83,6 +83,7 @@ | |||
83 | 83 | ||
84 | #include "sched.h" | 84 | #include "sched.h" |
85 | #include "../workqueue_sched.h" | 85 | #include "../workqueue_sched.h" |
86 | #include "../smpboot.h" | ||
86 | 87 | ||
87 | #define CREATE_TRACE_POINTS | 88 | #define CREATE_TRACE_POINTS |
88 | #include <trace/events/sched.h> | 89 | #include <trace/events/sched.h> |
@@ -7049,6 +7050,7 @@ void __init sched_init(void) | |||
7049 | /* May be allocated at isolcpus cmdline parse time */ | 7050 | /* May be allocated at isolcpus cmdline parse time */ |
7050 | if (cpu_isolated_map == NULL) | 7051 | if (cpu_isolated_map == NULL) |
7051 | zalloc_cpumask_var(&cpu_isolated_map, GFP_NOWAIT); | 7052 | zalloc_cpumask_var(&cpu_isolated_map, GFP_NOWAIT); |
7053 | idle_thread_set_boot_cpu(); | ||
7052 | #endif | 7054 | #endif |
7053 | init_sched_fair_class(); | 7055 | init_sched_fair_class(); |
7054 | 7056 | ||