diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 8ff530c02b67..fb83291d6a3a 100755 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -3112,7 +3112,7 @@ static inline void update_cpu_cluster_capacity(const cpumask_t *cpus) { } #ifdef CONFIG_SMP static inline unsigned long thermal_cap(int cpu) { - return cpu_rq(cpu)->cpu_capacity_orig; + return SCHED_CAPACITY_SCALE; } #endif