mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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: Maria Yu <aiquny@codeaurora.org> Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
This commit is contained in:
parent
c745d32a3d
commit
5e4a6df770
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user