powerpc/cpumask: Use cpu_online_mask
authorAnton Blanchard <anton@samba.org>
Mon, 26 Apr 2010 15:32:32 +0000 (15:32 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 6 May 2010 07:16:12 +0000 (17:16 +1000)
Change &cpu_online_map to cpu_online_mask.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pasemi/cpufreq.c
arch/powerpc/platforms/powermac/cpufreq_64.c

index d35e0520abf007d5278f0f07eaac082a09e170e4..c16537bc0c6e12b6a7a5b7f6d49ba59f4e63bf7f 100644 (file)
@@ -213,7 +213,7 @@ static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy)
        pr_debug("current astate is at %d\n",cur_astate);
 
        policy->cur = pas_freqs[cur_astate].frequency;
-       cpumask_copy(policy->cpus, &cpu_online_map);
+       cpumask_copy(policy->cpus, cpu_online_mask);
 
        ppc_proc_freq = policy->cur * 1000ul;
 
index 3ca09d3ccce33f35ab47a5fa53296c213085d243..9650c6029c825c98b25e137714efd519763af93a 100644 (file)
@@ -362,7 +362,7 @@ static int g5_cpufreq_cpu_init(struct cpufreq_policy *policy)
        /* secondary CPUs are tied to the primary one by the
         * cpufreq core if in the secondary policy we tell it that
         * it actually must be one policy together with all others. */
-       cpumask_copy(policy->cpus, &cpu_online_map);
+       cpumask_copy(policy->cpus, cpu_online_mask);
        cpufreq_frequency_table_get_attr(g5_cpu_freqs, policy->cpu);
 
        return cpufreq_frequency_table_cpuinfo(policy,