[CPUFREQ] Do not set policy for offline cpus
authorPrarit Bhargava <prarit@redhat.com>
Mon, 3 Aug 2009 14:58:11 +0000 (10:58 -0400)
committerDave Jones <davej@redhat.com>
Tue, 4 Aug 2009 18:32:10 +0000 (14:32 -0400)
commit42c74b84c64633dd3badbfc2abd2ef1728b64b30
tree16b9378a38cde51f50078a2d5d41353d346d0dc4
parent26d204afa18f7df177f21bdb3759e0098ca8f7d5
[CPUFREQ] Do not set policy for offline cpus

Suspend/Resume fails on multi socket, multi core systems because the cpufreq
code erroneously sets the per_cpu policy_cpu value when a logical cpu is
offline.

This most notably results in missing sysfs files that are used to set the
cpu frequencies of the various cpus.

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