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

Commit 5e4a6df7 authored by Maria Yu's avatar Maria Yu Committed by Lingutla Chandrasekhar
Browse files

sched: Fix for 32 bit compilation 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>
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent c745d32a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1953,7 +1953,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));