summarylogtreecommitdiffstats
path: root/ck-patch-for-5.4.62+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ck-patch-for-5.4.62+.patch')
-rw-r--r--ck-patch-for-5.4.62+.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/ck-patch-for-5.4.62+.patch b/ck-patch-for-5.4.62+.patch
deleted file mode 100644
index 2f2d84096228..000000000000
--- a/ck-patch-for-5.4.62+.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-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);
-
-- 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;