aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2008-04-22 13:04:26 -0400
committerTony Luck <tony.luck@intel.com>2008-04-24 17:40:29 -0400
commit03970f065d9b4b156d0e879f82989440f7045396 (patch)
tree7b81e32b6730a682fa945136a71ed7a6f59f6640
parent472613b961affef0c73f1c797993678312e7c666 (diff)
[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n
Regression caused by 434d53b00d6bb7be0a1d3dcc0d0d5df6c042e164 Signed-off-by: Mike Travis <travis@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--kernel/sched.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 09ca69b2c17d..781870da598f 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7991,11 +7991,6 @@ void __init sched_init_smp(void)
7991#else 7991#else
7992void __init sched_init_smp(void) 7992void __init sched_init_smp(void)
7993{ 7993{
7994#if defined(CONFIG_NUMA)
7995 sched_group_nodes_bycpu = kzalloc(nr_cpu_ids * sizeof(void **),
7996 GFP_KERNEL);
7997 BUG_ON(sched_group_nodes_bycpu == NULL);
7998#endif
7999 sched_init_granularity(); 7994 sched_init_granularity();
8000} 7995}
8001#endif /* CONFIG_SMP */ 7996#endif /* CONFIG_SMP */