summarylogtreecommitdiffstats
path: root/ck-patch-for-5.4.62+.patch
diff options
context:
space:
mode:
authorshmilee2020-09-10 21:36:22 +0800
committershmilee2020-09-10 21:36:22 +0800
commit50bbbf522f7502d0a492763fe5a98cbb57285cff (patch)
treefedcfc43fd7a5e6155a5c47b001e5f92a9b568e0 /ck-patch-for-5.4.62+.patch
parent0ac4b4ee48a6df2f1bb6c55acbccaa44b2d29042 (diff)
downloadaur-50bbbf522f7502d0a492763fe5a98cbb57285cff.tar.gz
test: LTS 5.4.62, fix muqss missing uclamp_is_used
Diffstat (limited to 'ck-patch-for-5.4.62+.patch')
-rw-r--r--ck-patch-for-5.4.62+.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/ck-patch-for-5.4.62+.patch b/ck-patch-for-5.4.62+.patch
index 5b76de16124..2f2d8409622 100644
--- a/ck-patch-for-5.4.62+.patch
+++ b/ck-patch-for-5.4.62+.patch
@@ -1,5 +1,29 @@
+Fix: muqss, missing static function, uclamp_is_used
+Ref: https://github.com/zen-kernel/zen-kernel/commit/e7113f2c1d56962d4afabc627ad761c138f5b858.patch
+
--- patch-5.4.61-ck1 2020-09-04 22:10:44.000000000 +0800
+++ patch-5.4.62-ck1 2020-09-05 10:27:35.000000000 +0800
+@@ -15665,7 +15665,7 @@
+ index 000000000000..5214b158d82f
+ --- /dev/null
+ +++ b/kernel/sched/MuQSS.h
+-@@ -0,0 +1,1005 @@
++@@ -0,0 +1,1010 @@
+ +/* SPDX-License-Identifier: GPL-2.0 */
+ +#ifndef MUQSS_SCHED_H
+ +#define MUQSS_SCHED_H
+@@ -16453,6 +16453,11 @@
+ + return util;
+ +}
+ +
+++static inline bool uclamp_is_used(void)
+++{
+++ return false;
+++}
+++
+ +#ifdef arch_scale_freq_capacity
+ +#ifndef arch_scale_freq_invariant
+ +#define arch_scale_freq_invariant() (true)
@@ -16691,7 +16691,7 @@
@@ -213,7 +219,7 @@ unsigned long schedutil_cpu_util(int cpu, unsigned long util_cfs,
struct rq *rq = cpu_rq(cpu);