From a77d212ea6496de014c117846408ecff63c72d24 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Thu, 31 Jan 2013 07:56:04 +0530 Subject: [PATCH] --- yaml --- r: 351055 b: refs/heads/master c: 6ca939b3a304f82065985e66041e26366be65564 h: refs/heads/master i: 351053: 6fbc9b45b0f5c76e08114270ac30ec47afaefeec 351051: 230be5f03f413f6281ca4d8bc1e96d262419010f 351047: 8a1b0f80c981f44c8f8ba6b581e4b816765c2c6c 351039: bebd8c2dff43f240ad93c14d25b27f1f3deffed3 v: v3 --- [refs] | 2 +- trunk/drivers/cpufreq/exynos-cpufreq.c | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/[refs] b/[refs] index 1f3332bf775f..ed8eee5ca558 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2a4bd9f0db24ba14c8b38777d77add2682233c79 +refs/heads/master: 6ca939b3a304f82065985e66041e26366be65564 diff --git a/trunk/drivers/cpufreq/exynos-cpufreq.c b/trunk/drivers/cpufreq/exynos-cpufreq.c index 7012ea8bf1e7..81eb84a24fa7 100644 --- a/trunk/drivers/cpufreq/exynos-cpufreq.c +++ b/trunk/drivers/cpufreq/exynos-cpufreq.c @@ -227,19 +227,7 @@ static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy) /* set the transition latency value */ policy->cpuinfo.transition_latency = 100000; - /* - * EXYNOS4 multi-core processors has 2 cores - * that the frequency cannot be set independently. - * Each cpu is bound to the same speed. - * So the affected cpu is all of the cpus. - */ - if (num_online_cpus() == 1) { - cpumask_copy(policy->related_cpus, cpu_possible_mask); - cpumask_copy(policy->cpus, cpu_online_mask); - } else { - policy->shared_type = CPUFREQ_SHARED_TYPE_ANY; - cpumask_setall(policy->cpus); - } + cpumask_setall(policy->cpus); return cpufreq_frequency_table_cpuinfo(policy, exynos_info->freq_table); }