summarylogtreecommitdiffstats
path: root/ck-patch-for-5.4.62+.patch
blob: 5b76de16124163df774e273b3dff188a21f4093e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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
@@ -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;