From: Daeyeong Lee Date: Tue, 19 Jun 2018 06:19:07 +0000 (+0900) Subject: sched: ems: ontime: Use get_cpu_max_capacity instead of capacity_orig_of function. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=23bf8099a5c7ad64d1307b056042ca938e78fcec;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sched: ems: ontime: Use get_cpu_max_capacity instead of capacity_orig_of function. Change-Id: I0ffb28f2680b9f3603a82eb0fbfbce8213c4c83f Signed-off-by: Daeyeong Lee --- 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);