summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-04-25 21:50:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-25 21:50:00 +0200
commit6e18933f2b6156d0a0ec9d5522ab6a6033cf7241 (patch)
treef8045942c4b5c250fd4eec8331fec8a7e2962974 /kernel
parentMerge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds (diff)
parent[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n (diff)
downloadlinux-6e18933f2b6156d0a0ec9d5522ab6a6033cf7241.tar.xz
linux-6e18933f2b6156d0a0ec9d5522ab6a6033cf7241.zip
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')
-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 */