We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f25730 commit 74063c1Copy full SHA for 74063c1
kernel/sched/core.c
@@ -8582,9 +8582,7 @@ void __init sched_init(void)
8582
8583
calc_load_update = jiffies + LOAD_FREQ;
8584
8585
-#ifdef CONFIG_SMP
8586
idle_thread_set_boot_cpu();
8587
-#endif
8588
8589
balance_push_set(smp_processor_id(), false);
8590
init_sched_fair_class();
kernel/smpboot.c
@@ -18,8 +18,6 @@
18
19
#include "smpboot.h"
20
21
22
-
23
#ifdef CONFIG_GENERIC_SMP_IDLE_THREAD
24
/*
25
* For the hotplug case we keep the task structs around and reuse
@@ -76,8 +74,6 @@ void __init idle_threads_init(void)
76
74
}
77
75
#endif
78
79
-#endif /* #ifdef CONFIG_SMP */
80
81
static LIST_HEAD(hotplug_threads);
82
static DEFINE_MUTEX(smpboot_threads_lock);
83
0 commit comments