projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0529f2d
)
sched: ems: ontime: Use get_cpu_max_capacity instead of capacity_orig_of function.
author
Daeyeong Lee
<daeyeong.lee@samsung.com>
Tue, 19 Jun 2018 06:19:07 +0000
(15:19 +0900)
committer
Cosmin Tanislav
<demonsingur@gmail.com>
Mon, 22 Apr 2024 17:24:56 +0000
(20:24 +0300)
Change-Id: I0ffb28f2680b9f3603a82eb0fbfbce8213c4c83f
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
kernel/sched/ems/ontime.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/ems/ontime.c
b/kernel/sched/ems/ontime.c
index b5516d8c9e058a186ec056f08dfe7576e98b343a..64c8f37f55625104d12d9a439c44a5b2f28157a3 100644
(file)
--- 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);