]> err.no Git - linux-2.6/commitdiff
[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n
authorMike Travis <travis@sgi.com>
Tue, 22 Apr 2008 17:04:26 +0000 (10:04 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 24 Apr 2008 21:40:29 +0000 (14:40 -0700)
Regression caused by 434d53b00d6bb7be0a1d3dcc0d0d5df6c042e164

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
kernel/sched.c

index 09ca69b2c17d4e4174d263bcbb35d64119bef04b..781870da598f2635b1d66928fbefc1e229898e99 100644 (file)
@@ -7991,11 +7991,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 */