From 1b9f3a83d37e028b15116c41f9a8dfa42897c29e Mon Sep 17 00:00:00 2001 From: "lakkyung.jung" Date: Mon, 19 Mar 2018 21:29:17 +0900 Subject: [PATCH] [COMMON] sched: fair: Add to update max cpu capacity on update_cpu_capacity. Change-Id: I4835f48130055cd926e79d9b04e46fddabe378a4 Signed-off-by: lakkyung.jung --- kernel/sched/fair.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index bc6ce0bc170e..27268c83de98 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8768,6 +8768,7 @@ static void update_cpu_capacity(struct sched_domain *sd, int cpu) cpu_rq(cpu)->cpu_capacity = capacity; sdg->sgc->capacity = capacity; sdg->sgc->min_capacity = capacity; + sdg->sgc->max_capacity = capacity; } void update_group_capacity(struct sched_domain *sd, int cpu) -- 2.20.1