aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index db313c33af29..07f1e9935f21 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5885,7 +5885,7 @@ build_overlap_sched_groups(struct sched_domain *sd, int cpu)
5885 continue; 5885 continue;
5886 5886
5887 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), 5887 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(),
5888 GFP_KERNEL, cpu_to_node(i)); 5888 GFP_KERNEL, cpu_to_node(cpu));
5889 5889
5890 if (!sg) 5890 if (!sg)
5891 goto fail; 5891 goto fail;