mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n
Regression caused by 434d53b00d
Signed-off-by: Mike Travis <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
This commit is contained in:
parent
472613b961
commit
03970f065d
1 changed files with 0 additions and 5 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue