Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36f54cd3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: Make sure window start passed to schedutil is consistent" into msm-4.14

parents 8fe01b9c 55893aa2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1999,7 +1999,7 @@ cpu_util_freq_walt(int cpu, struct sched_walt_cpu_load *walt_load)
		walt_load->prev_window_util = util;
		walt_load->nl = nl;
		walt_load->pl = pl;
		walt_load->ws = rq->window_start;
		walt_load->ws = rq->load_reported_window;
	}

	return (util >= capacity) ? capacity : util;
@@ -2463,6 +2463,7 @@ static inline void cpufreq_update_util(struct rq *rq, unsigned int flags)
		(rq->load_reported_window == rq->window_start) &&
		!(flags & exception_flags))
		return;
	if (!(flags & exception_flags))
		rq->load_reported_window = rq->window_start;
#endif