diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2021-03-10 05:46:40 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-03-10 08:25:37 +0300 |
commit | eec73529a9321616ed13cf732cd21a17eb1a2836 (patch) | |
tree | e9eb1eb8f07f2b8f4fc8c6e97a9e4470e60459e8 /include/linux/arch_topology.h | |
parent | fbb31cb805fd3574d3be7defc06a7fd2fd9af7d2 (diff) | |
download | linux-eec73529a9321616ed13cf732cd21a17eb1a2836.tar.xz |
arch_topology: Rename freq_scale as arch_freq_scale
Rename freq_scale to a less generic name, as it will get exported soon
for modules. Since x86 already names its own implementation of this as
arch_freq_scale, lets stick to that.
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/linux/arch_topology.h')
-rw-r--r-- | include/linux/arch_topology.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/arch_topology.h b/include/linux/arch_topology.h index 0f6cd6b73a61..583af517f123 100644 --- a/include/linux/arch_topology.h +++ b/include/linux/arch_topology.h @@ -23,11 +23,11 @@ static inline unsigned long topology_get_cpu_scale(int cpu) void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity); -DECLARE_PER_CPU(unsigned long, freq_scale); +DECLARE_PER_CPU(unsigned long, arch_freq_scale); static inline unsigned long topology_get_freq_scale(int cpu) { - return per_cpu(freq_scale, cpu); + return per_cpu(arch_freq_scale, cpu); } void topology_set_freq_scale(const struct cpumask *cpus, unsigned long cur_freq, |