From 4f7837d7418e559a703d7bb57139d72a3bd65dff Mon Sep 17 00:00:00 2001 From: Ionela Voinescu Date: Thu, 7 Dec 2017 17:58:37 +0000 Subject: [PATCH] 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: Chris Redpath Signed-off-by: Ionela Voinescu --- arch/arm/include/asm/topology.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/topology.h b/arch/arm/include/asm/topology.h index 775353deec4a..4e9b95745217 100644 --- a/arch/arm/include/asm/topology.h +++ b/arch/arm/include/asm/topology.h @@ -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);