projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
472613b
)
[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n
author
Mike Travis
<travis@sgi.com>
Tue, 22 Apr 2008 17:04:26 +0000
(10:04 -0700)
committer
Tony 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 09ca69b2c17d4e4174d263bcbb35d64119bef04b..781870da598f2635b1d66928fbefc1e229898e99 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-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 */