|
@@ -1675,7 +1675,7 @@ extern void sched_avg_update(struct rq *rq);
|
|
|
|
|
|
#ifndef arch_scale_freq_capacity
|
|
|
static __always_inline
|
|
|
-unsigned long arch_scale_freq_capacity(struct sched_domain *sd, int cpu)
|
|
|
+unsigned long arch_scale_freq_capacity(int cpu)
|
|
|
{
|
|
|
return SCHED_CAPACITY_SCALE;
|
|
|
}
|
|
@@ -1694,7 +1694,7 @@ unsigned long arch_scale_cpu_capacity(struct sched_domain *sd, int cpu)
|
|
|
|
|
|
static inline void sched_rt_avg_update(struct rq *rq, u64 rt_delta)
|
|
|
{
|
|
|
- rq->rt_avg += rt_delta * arch_scale_freq_capacity(NULL, cpu_of(rq));
|
|
|
+ rq->rt_avg += rt_delta * arch_scale_freq_capacity(cpu_of(rq));
|
|
|
sched_avg_update(rq);
|
|
|
}
|
|
|
#else
|