summaryrefslogtreecommitdiff
path: root/fix-ck1_for_5.7.17.patch
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-08-23 16:36:13 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2020-08-23 16:36:13 +0300
commite534570481ac799417c7f656c494244e3daa86b0 (patch)
tree185835809951910f4103bbf16c4f7c4a244b1820 /fix-ck1_for_5.7.17.patch
parentUpdated to 5.7.16 (diff)
downloadlinux-ck-e534570481ac799417c7f656c494244e3daa86b0.tar.xz
Updated to 5.7.17
Diffstat (limited to 'fix-ck1_for_5.7.17.patch')
-rw-r--r--fix-ck1_for_5.7.17.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/fix-ck1_for_5.7.17.patch b/fix-ck1_for_5.7.17.patch
new file mode 100644
index 0000000..aa83ead
--- /dev/null
+++ b/fix-ck1_for_5.7.17.patch
@@ -0,0 +1,14 @@
+Thanks to ooo for pointing this out
+https://aur.archlinux.org/packages/linux-ck/#comment-762177
+
+--- a/patch-5.7-ck1 2020-06-10 00:59:29.000000000 +0300
++++ b/patch-5.7-ck1 2020-08-23 13:42:46.304190376 +0300
+@@ -12162,7 +12162,7 @@
+ @@ -211,7 +217,7 @@ unsigned long schedutil_cpu_util(int cpu, unsigned long util_cfs,
+ struct rq *rq = cpu_rq(cpu);
+
+- if (!IS_BUILTIN(CONFIG_UCLAMP_TASK) &&
++ if (!uclamp_is_used() &&
+ - type == FREQUENCY_UTIL && rt_rq_is_runnable(&rq->rt)) {
+ + type == FREQUENCY_UTIL && rt_rq_runnable(rq)) {
+ return max;