sched: ems: ontime: Use get_cpu_max_capacity instead of capacity_orig_of function.
authorDaeyeong Lee <daeyeong.lee@samsung.com>
Tue, 19 Jun 2018 06:19:07 +0000 (15:19 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:59:44 +0000 (14:59 +0900)
Change-Id: I0ffb28f2680b9f3603a82eb0fbfbce8213c4c83f
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
kernel/sched/ems/ontime.c

index b5516d8c9e058a186ec056f08dfe7576e98b343a..64c8f37f55625104d12d9a439c44a5b2f28157a3 100644 (file)
@@ -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);