]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sched.c
cpumask: remove cpumask allocation from idle_balance, fix
[linux-2.6-omap-h63xx.git] / kernel / sched.c
index 48862d418bed6c2203af4aa8e0fba1e1a698b2bd..11dd52780adb556a5d825174620bac18a095fca3 100644 (file)
@@ -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,