diff options
-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) | |||
8297 | alloc_size *= 2; | 8297 | alloc_size *= 2; |
8298 | #endif | 8298 | #endif |
8299 | #ifdef CONFIG_CPUMASK_OFFSTACK | 8299 | #ifdef CONFIG_CPUMASK_OFFSTACK |
8300 | alloc_size *= num_possible_cpus() * cpumask_size(); | 8300 | alloc_size += num_possible_cpus() * cpumask_size(); |
8301 | #endif | 8301 | #endif |
8302 | /* | 8302 | /* |
8303 | * As sched_init() is called before page_alloc is setup, | 8303 | * As sched_init() is called before page_alloc is setup, |