diff options
author | Dietmar Eggemann <dietmar.eggemann@arm.com> | 2015-09-23 12:47:48 +0100 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2016-08-23 14:09:46 +0530 |
commit | aaf034ffc1e7ada5d2e79497ecd9b21814559b23 (patch) | |
tree | 3d3c09134137b973177b0f106636cb643d69900f /arch/arm/include/asm | |
parent | 3a5327e37a3734dad3f0792651228145c72994d0 (diff) |
arm: Enable frequency invariant scheduler load-tracking support
Defines arch_scale_freq_capacity() to use cpufreq implementation.
Change-Id: I7b82e9935533aaf2f24903bb05e7f0b1bcdb6a88
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/topology.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/topology.h b/arch/arm/include/asm/topology.h index 2fe85fff5cca..6b0b85455a02 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 <linux/cpufreq.h> +#define arch_scale_freq_capacity cpufreq_scale_freq_capacity +#endif + #else static inline void init_cpu_topology(void) { } |