aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJayson R. King <dev@jaysonking.com>2009-10-05 06:21:26 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-05 15:37:22 -0400
commitcf82ff7ea7695b0e82ba07bc5e9f1bd03a74e1aa (patch)
treed5c7c53b1cb2fe787d14b852c1bf4621f2a0efed /kernel
parentd01d4827858cdc2e1c437c87ab65ec0a00fd40f8 (diff)
sched: Remove obsolete comment in sched_init()
Remove the comment about calling alloc_bootmem() as it is not called here since commit 36b7b6d465489c4754c4fd66fcec6086eba87896. Signed-off-by: Jayson R. King <dev@jaysonking.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Jiri Kosina <trivial@kernel.org> LKML-Reference: <4AC9C8A6.6010209@jaysonking.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-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