diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-29 13:24:47 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-05-12 14:04:15 +0200 |
commit | 4521adf85cd18e4652b9285846835f74418bd88f (patch) | |
tree | 43ccecafc7257330cd6d9db30a226a5d70f7a0dd /drivers/cpufreq/arm_big_little.c | |
parent | 3c792e0fe17858105b72516f709c48fc8e4a7523 (diff) | |
download | blackbird-op-linux-4521adf85cd18e4652b9285846835f74418bd88f.tar.gz blackbird-op-linux-4521adf85cd18e4652b9285846835f74418bd88f.zip |
cpufreq: ARM big LITTLE: Move cpu_to_cluster() to arm_big_little.h
The cpu_to_cluster() function may be used by glue drivers, so it's
better to keep it in arm_big_little.h.
[rjw: Changelog]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/arm_big_little.c')
-rw-r--r-- | drivers/cpufreq/arm_big_little.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c index dbdf677d2f36..fd7beed801f8 100644 --- a/drivers/cpufreq/arm_big_little.c +++ b/drivers/cpufreq/arm_big_little.c @@ -40,11 +40,6 @@ static struct clk *clk[MAX_CLUSTERS]; static struct cpufreq_frequency_table *freq_table[MAX_CLUSTERS]; static atomic_t cluster_usage[MAX_CLUSTERS] = {ATOMIC_INIT(0), ATOMIC_INIT(0)}; -static int cpu_to_cluster(int cpu) -{ - return topology_physical_package_id(cpu); -} - static unsigned int bL_cpufreq_get(unsigned int cpu) { u32 cur_cluster = cpu_to_cluster(cpu); |