aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/db8500-cpufreq.c2
-rw-r--r--drivers/cpufreq/maple-cpufreq.c2
-rw-r--r--drivers/cpufreq/spear-cpufreq.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cpufreq/db8500-cpufreq.c b/drivers/cpufreq/db8500-cpufreq.c
index 4f154bc0ebe4..e12dff601b8a 100644
--- a/drivers/cpufreq/db8500-cpufreq.c
+++ b/drivers/cpufreq/db8500-cpufreq.c
@@ -128,7 +128,7 @@ static int __cpuinit db8500_cpufreq_init(struct cpufreq_policy *policy)
128 policy->cpuinfo.transition_latency = 20 * 1000; /* in ns */ 128 policy->cpuinfo.transition_latency = 20 * 1000; /* in ns */
129 129
130 /* policy sharing between dual CPUs */ 130 /* policy sharing between dual CPUs */
131 cpumask_copy(policy->cpus, cpu_present_mask); 131 cpumask_setall(policy->cpus);
132 132
133 policy->shared_type = CPUFREQ_SHARED_TYPE_ALL; 133 policy->shared_type = CPUFREQ_SHARED_TYPE_ALL;
134 134
diff --git a/drivers/cpufreq/maple-cpufreq.c b/drivers/cpufreq/maple-cpufreq.c
index 89b178a3f849..d4c4989823dc 100644
--- a/drivers/cpufreq/maple-cpufreq.c
+++ b/drivers/cpufreq/maple-cpufreq.c
@@ -181,7 +181,7 @@ static int maple_cpufreq_cpu_init(struct cpufreq_policy *policy)
181 /* secondary CPUs are tied to the primary one by the 181 /* secondary CPUs are tied to the primary one by the
182 * cpufreq core if in the secondary policy we tell it that 182 * cpufreq core if in the secondary policy we tell it that
183 * it actually must be one policy together with all others. */ 183 * it actually must be one policy together with all others. */
184 cpumask_copy(policy->cpus, cpu_online_mask); 184 cpumask_setall(policy->cpus);
185 cpufreq_frequency_table_get_attr(maple_cpu_freqs, policy->cpu); 185 cpufreq_frequency_table_get_attr(maple_cpu_freqs, policy->cpu);
186 186
187 return cpufreq_frequency_table_cpuinfo(policy, 187 return cpufreq_frequency_table_cpuinfo(policy,
diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c
index a0265353cb45..7e4d77327957 100644
--- a/drivers/cpufreq/spear-cpufreq.c
+++ b/drivers/cpufreq/spear-cpufreq.c
@@ -191,7 +191,7 @@ static int spear_cpufreq_init(struct cpufreq_policy *policy)
191 policy->cpuinfo.transition_latency = spear_cpufreq.transition_latency; 191 policy->cpuinfo.transition_latency = spear_cpufreq.transition_latency;
192 policy->cur = spear_cpufreq_get(0); 192 policy->cur = spear_cpufreq_get(0);
193 193
194 cpumask_copy(policy->cpus, topology_core_cpumask(policy->cpu)); 194 cpumask_setall(policy->cpus);
195 195
196 return 0; 196 return 0;
197} 197}