]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/cpufreq/arm_big_little.c
cpufreq: ARM big LITTLE: Move cpu_to_cluster() to arm_big_little.h
[linux-imx.git] / drivers / cpufreq / arm_big_little.c
index dbdf677d2f3610e4e28340a3785090b245d5c336..fd7beed801f875c061e20a15c2edb9c6d7b3149f 100644 (file)
@@ -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);