diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-12 00:22:01 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-12 05:32:01 (GMT) |
commit | ae04d1401577bb63151480a053057de58b8e10bb (patch) | |
tree | 50c5421e7303893c360cd29fae010fa72c003329 /arch/powerpc/platforms/pasemi/cpufreq.c | |
parent | c59765042f53a79a7a65585042ff463b69cb248c (diff) | |
download | linux-fsl-qoriq-ae04d1401577bb63151480a053057de58b8e10bb.tar.xz |
powerpc: Fix cpufreq drivers after cpufreq core changes
This updates the cpufreq drivers in arch/powerpc so they build again
after the core cpufreq changes that broke them in commit
in835481d9bcd65720b473db6b38746a74a3964218.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/cpufreq.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pasemi/cpufreq.c b/arch/powerpc/platforms/pasemi/cpufreq.c index 86db47c..be2527a 100644 --- a/arch/powerpc/platforms/pasemi/cpufreq.c +++ b/arch/powerpc/platforms/pasemi/cpufreq.c @@ -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; - policy->cpus = cpu_online_map; + cpumask_copy(policy->cpus, &cpu_online_map); ppc_proc_freq = policy->cur * 1000ul; |