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:
f208aca
)
[COMMON] cpufreq_schedutil: select alive cpu for scaling.
author
Soohyun Kim
<soohyuni.kim@samsung.com>
Fri, 23 Mar 2018 06:04:42 +0000
(15:04 +0900)
committer
Chungwoo Park
<cww.park@samsung.com>
Mon, 21 May 2018 08:33:05 +0000
(17:33 +0900)
Change-Id: I42b75111f30c9921d858459db883ebdffad83798
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
kernel/sched/cpufreq_schedutil.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/cpufreq_schedutil.c
b/kernel/sched/cpufreq_schedutil.c
index 107b1df2953db2b41a99e94b8b14d490a9a7ca54..dee7a12c6d1bb7b1d3623b7e24c35d6c894293d8 100644
(file)
--- a/
kernel/sched/cpufreq_schedutil.c
+++ b/
kernel/sched/cpufreq_schedutil.c
@@
-179,7
+179,7
@@
static int sugov_select_scaling_cpu(void)
return cpu;
}
- return cpumask_
weight(&mask) - 1
;
+ return cpumask_
any(&mask)
;
}
static void sugov_update_commit(struct sugov_policy *sg_policy, u64 time,