]> err.no Git - linux-2.6/commit
[POWERPC] powermac: Fix G5-cpufreq for cpu on/offline
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 21 Mar 2007 10:40:42 +0000 (21:40 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 May 2007 10:04:28 +0000 (20:04 +1000)
commit8fce6dd29fa9d1ac880bf0cb4528e9bd5878cf68
treef1032132dd48bde3c030a39a145d9bb992a75cfe
parentb302887854d6f0c6f9fc3f1080535e7c1bd53134
[POWERPC] powermac: Fix G5-cpufreq for cpu on/offline

The original code here is wrong, it applies "previous" knowledge.
The way the cpufreq core is designed is that the policy for the
secondary CPU that comes online says that it must in fact not
use this policy but use the same as the other CPUs that are
listed, which in fact is CPU#0.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/cpufreq_64.c