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

Commit 4f7837d7 authored by Ionela Voinescu's avatar Ionela Voinescu Committed by Quentin Perret
Browse files

arm/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: I351dc1d45d8722cf1d6361ca843c6b49e9732665
Signed-off-by: default avatarChris Redpath <chris.redpath@arm.com>
Signed-off-by: default avatarIonela Voinescu <ionela.voinescu@arm.com>
parent 55e95f99
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu);
#ifdef CONFIG_CPU_FREQ
#define arch_scale_freq_capacity cpufreq_scale_freq_capacity
#define arch_scale_max_freq_capacity cpufreq_scale_max_freq_capacity
#define arch_scale_min_freq_capacity cpufreq_scale_min_freq_capacity
#endif
#define arch_scale_cpu_capacity scale_cpu_capacity
extern unsigned long scale_cpu_capacity(struct sched_domain *sd, int cpu);