arm64/topology: link arch_scale_min_freq_capacity to cpufreq

Cpufreq tracks minimum frequency constraints per-cpu.
Link this to the generic arch_scale_min_freq_capacity which is
used in the scheduler.

Change-Id: I9f4f838bc7ebf929947ccc9e729e5ab24728e81c
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
This commit is contained in:
Chris Redpath
2017-05-25 11:17:05 +01:00
committed by Quentin Perret
parent 33550efbaa
commit 55e95f99e7

View File

@@ -37,6 +37,8 @@ struct sched_domain;
extern unsigned long cpufreq_scale_freq_capacity(struct sched_domain *sd, int cpu);
#define arch_scale_max_freq_capacity cpufreq_scale_max_freq_capacity
extern unsigned long cpufreq_scale_max_freq_capacity(struct sched_domain *sd, int cpu);
#define arch_scale_min_freq_capacity cpufreq_scale_min_freq_capacity
extern unsigned long cpufreq_scale_min_freq_capacity(struct sched_domain *sd, int cpu);
#endif
#define arch_scale_cpu_capacity scale_cpu_capacity
extern unsigned long scale_cpu_capacity(struct sched_domain *sd, int cpu);