Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351055
b: refs/heads/master
c: 6ca939b
h: refs/heads/master
i:
  351053: 6fbc9b4
  351051: 230be5f
  351047: 8a1b0f8
  351039: bebd8c2
v: v3
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Feb 9, 2013
1 parent d24ecef commit a77d212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a4bd9f0db24ba14c8b38777d77add2682233c79
refs/heads/master: 6ca939b3a304f82065985e66041e26366be65564
14 changes: 1 addition & 13 deletions trunk/drivers/cpufreq/exynos-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a77d212

Please sign in to comment.