From: Dietmar Eggemann Date: Wed, 23 Sep 2015 11:47:48 +0000 (+0100) Subject: arm: Enable frequency invariant scheduler load-tracking support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=372b62344c227283acd23d6ca63543a4ceb27abb;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git arm: Enable frequency invariant scheduler load-tracking support Defines arch_scale_freq_capacity() to use cpufreq implementation. Signed-off-by: Dietmar Eggemann --- diff --git a/arch/arm/include/asm/topology.h b/arch/arm/include/asm/topology.h index 370f7a732900..a69917b7d2c9 100644 --- a/arch/arm/include/asm/topology.h +++ b/arch/arm/include/asm/topology.h @@ -24,6 +24,11 @@ void init_cpu_topology(void); void store_cpu_topology(unsigned int cpuid); const struct cpumask *cpu_coregroup_mask(int cpu); +#ifdef CONFIG_CPU_FREQ +#include +#define arch_scale_freq_capacity cpufreq_scale_freq_capacity +#endif + #else static inline void init_cpu_topology(void) { }