summaryrefslogtreecommitdiff
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-04-25 12:50:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-25 12:50:00 -0700
commit6e18933f2b6156d0a0ec9d5522ab6a6033cf7241 (patch)
treef8045942c4b5c250fd4eec8331fec8a7e2962974 /kernel/sched.c
parenteb855fd8e7f6b1d8b50f24aa36803e29b367b041 (diff)
parent03970f065d9b4b156d0e879f82989440f7045396 (diff)
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n [IA64] fix bootmem regression on Altix
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 9e19287f3359..740fb409e5bb 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7948,11 +7948,6 @@ void __init sched_init_smp(void)
#else
void __init sched_init_smp(void)
{
-#if defined(CONFIG_NUMA)
- sched_group_nodes_bycpu = kzalloc(nr_cpu_ids * sizeof(void **),
- GFP_KERNEL);
- BUG_ON(sched_group_nodes_bycpu == NULL);
-#endif
sched_init_granularity();
}
#endif /* CONFIG_SMP */