diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-19 05:52:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-19 13:49:44 +0100 |
commit | 8c083f081d0014057901c68a0a3e0f8ca7ac8d23 (patch) | |
tree | 59203b4876eaca93a6f5f1d62e711bda35ff35c8 /kernel | |
parent | numa, cpumask: move numa_node_id default implementation to topology.h, fix (diff) | |
download | linux-8c083f081d0014057901c68a0a3e0f8ca7ac8d23.tar.xz linux-8c083f081d0014057901c68a0a3e0f8ca7ac8d23.zip |
cpumask: remove cpumask allocation from idle_balance, fix
Impact: fix boot crash
Fix typo in the size calculation.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <alpine.DEB.2.00.0903181729360.31583@gandalf.stny.rr.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 48862d418bed..11dd52780adb 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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, |