Skip to content

Commit

Permalink
[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n
Browse files Browse the repository at this point in the history
Regression caused by 434d53b

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Mike Travis authored and Tony Luck committed Apr 24, 2008
1 parent 472613b commit 03970f0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 03970f0

Please sign in to comment.