Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03970f06 authored by Mike Travis's avatar Mike Travis Committed by Tony Luck
Browse files

[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n



Regression caused by 434d53b0

Signed-off-by: default avatarMike Travis <travis@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 472613b9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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 */