Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55e95f99 authored by Chris Redpath's avatar Chris Redpath Committed by Quentin Perret
Browse files

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: default avatarChris Redpath <chris.redpath@arm.com>
Signed-off-by: default avatarIonela Voinescu <ionela.voinescu@arm.com>
parent 33550efb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);