aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/omap-cpufreq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
index 1953f9d082ad..3f5a816a64be 100644
--- a/drivers/cpufreq/omap-cpufreq.c
+++ b/drivers/cpufreq/omap-cpufreq.c
@@ -152,7 +152,6 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy)
152{ 152{
153 int result = 0; 153 int result = 0;
154 struct device *mpu_dev; 154 struct device *mpu_dev;
155 static cpumask_var_t cpumask;
156 155
157 if (cpu_is_omap24xx()) 156 if (cpu_is_omap24xx())
158 mpu_clk = clk_get(NULL, "virt_prcm_set"); 157 mpu_clk = clk_get(NULL, "virt_prcm_set");
@@ -200,8 +199,7 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy)
200 */ 199 */
201 if (is_smp()) { 200 if (is_smp()) {
202 policy->shared_type = CPUFREQ_SHARED_TYPE_ANY; 201 policy->shared_type = CPUFREQ_SHARED_TYPE_ANY;
203 cpumask_or(cpumask, cpumask_of(policy->cpu), cpumask); 202 cpumask_setall(policy->cpus);
204 cpumask_copy(policy->cpus, cpumask);
205 } 203 }
206 204
207 /* FIXME: what's the actual transition time? */ 205 /* FIXME: what's the actual transition time? */