]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] Make cpufreq suspend code conditional on powerpc.
authorDave Jones <davej@redhat.com>
Tue, 4 Aug 2009 18:03:25 +0000 (14:03 -0400)
committerDave Jones <davej@redhat.com>
Tue, 4 Aug 2009 18:32:11 +0000 (14:32 -0400)
commit1d1a084b5c11705b3ee34316cff0240750bada11
tree9405817331384c08569d87aee44c1a4160bad9d0
parent7689b5cf951e5ca7b1bd0711e9db3619a6a01bc9
[CPUFREQ] Make cpufreq suspend code conditional on powerpc.

The suspend code runs with interrupts disabled, and the powerpc workaround we
do in the cpufreq suspend hook calls the drivers ->get method.

powernow-k8's ->get does an smp_call_function_single
which needs interrupts enabled

cpufreq's suspend/resume code was added in ad7c85ef4a6b to work around
a hardware problem on ppc powerbooks.  If we make all this code
conditional on powerpc, we avoid the issue above.

Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c