diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 86d6905d507b..0e6f3df3da42 100755 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -3079,7 +3079,7 @@ static inline bool is_min_capacity_cpu(int cpu) #ifdef CONFIG_SMP static inline int cpu_capacity(int cpu) { - return SCHED_CAPACITY_SCALE; + return capacity_orig_of(cpu); } #endif