[CPUFREQ] Handle CPUs with different capabilities in acpi-cpufreq
authorMatthew Garrett <mjg@redhat.com>
Wed, 13 Jul 2011 21:58:32 +0000 (17:58 -0400)
committerDave Jones <davej@redhat.com>
Wed, 13 Jul 2011 22:29:49 +0000 (18:29 -0400)
acpi-cpufreq checks each CPU for aperf/mperf support, but only sets a
global flag. This will cause errors if some CPUs in the system don't
support the feature. Check boot_cpu_has() instead in order to make sure
that all CPUs support it.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Dave Jones <davej@redhat.com>

No differences found