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

Commit 4837b1a4 authored by Maria Yu's avatar Maria Yu
Browse files

sched: Fix for compile issue



Incompatible pointer type found by the compiler which
do_div need to have u64 for first parameter.

Change-Id: If44ee3569de70dd63debac46a25a96f0b558c29f
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent 757199c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1810,7 +1810,7 @@ static inline unsigned long
cpu_util_freq_pelt(int cpu)
{
	struct rq *rq = cpu_rq(cpu);
	unsigned long util = rq->cfs.avg.util_avg;
	u64 util = rq->cfs.avg.util_avg;
	unsigned long capacity = capacity_orig_of(cpu);

	util *= (100 + per_cpu(sched_load_boost, cpu));