diff options
Diffstat (limited to 'ck-patch-for-5.4.62+.patch')
-rw-r--r-- | ck-patch-for-5.4.62+.patch | 24 |
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 5b76de161241..2f2d84096228 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); |