From 458dad0b1ffb31af8e9f08700f37fd934a4b87c4 Mon Sep 17 00:00:00 2001 From: Daeyeong Lee Date: Tue, 19 Jun 2018 15:19:07 +0900 Subject: [PATCH] sched: ems: ontime: Use get_cpu_max_capacity instead of capacity_orig_of function. Change-Id: I0ffb28f2680b9f3603a82eb0fbfbce8213c4c83f Signed-off-by: Daeyeong Lee --- kernel/sched/ems/ontime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/ems/ontime.c b/kernel/sched/ems/ontime.c index b5516d8c9e05..64c8f37f5562 100644 --- a/kernel/sched/ems/ontime.c +++ b/kernel/sched/ems/ontime.c @@ -808,7 +808,7 @@ parse_ontime(struct device_node *dn, struct ontime_cond *cond, int cnt) goto disable; cond->coregroup = cnt; - capacity = capacity_orig_of(cpumask_first(&cond->cpus)); + capacity = get_cpu_max_capacity(cpumask_first(&cond->cpus)); /* If any of ontime parameter isn't, disable ontime of this coregroup */ res |= of_property_read_u32(coregroup, "upper-boundary", &prop); -- 2.20.1