Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c083f08 authored by Rusty Russell's avatar Rusty Russell Committed by Ingo Molnar
Browse files

cpumask: remove cpumask allocation from idle_balance, fix



Impact: fix boot crash

Fix typo in the size calculation.

Reported-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <alpine.DEB.2.00.0903181729360.31583@gandalf.stny.rr.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 17ad6ea6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8297,7 +8297,7 @@ void __init sched_init(void)
	alloc_size *= 2;
#endif
#ifdef CONFIG_CPUMASK_OFFSTACK
	alloc_size *= num_possible_cpus() * cpumask_size();
	alloc_size += num_possible_cpus() * cpumask_size();
#endif
	/*
	 * As sched_init() is called before page_alloc is setup,