aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 830967e18285..a56446d7fda2 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -9322,10 +9322,6 @@ void __init sched_init(void)
9322#ifdef CONFIG_CPUMASK_OFFSTACK 9322#ifdef CONFIG_CPUMASK_OFFSTACK
9323 alloc_size += num_possible_cpus() * cpumask_size(); 9323 alloc_size += num_possible_cpus() * cpumask_size();
9324#endif 9324#endif
9325 /*
9326 * As sched_init() is called before page_alloc is setup,
9327 * we use alloc_bootmem().
9328 */
9329 if (alloc_size) { 9325 if (alloc_size) {
9330 ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT); 9326 ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT);
9331 9327