From 55e95f99e7e00510b09fa384c3f1b40ea2c363b4 Mon Sep 17 00:00:00 2001 From: Chris Redpath Date: Thu, 25 May 2017 11:17:05 +0100 Subject: [PATCH] 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 Signed-off-by: Ionela Voinescu --- arch/arm64/include/asm/topology.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/topology.h b/arch/arm64/include/asm/topology.h index 342ff869023f..a4f86ded68c3 100644 --- a/arch/arm64/include/asm/topology.h +++ b/arch/arm64/include/asm/topology.h @@ -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);