ACPI x86: Make aperf/mperf MSR access in acpi_cpufreq read_only
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Mon, 6 Apr 2009 18:26:08 +0000 (11:26 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 7 Apr 2009 22:15:05 +0000 (18:15 -0400)
commit18b2646fe3babeb40b34a0c1751e0bf5adfdc64c
tree544fd1676479f609a9b307365374e44c697a44f5
parente4f6937222dbb61b8b8e62caca3d32e648b3b14b
ACPI x86: Make aperf/mperf MSR access in acpi_cpufreq read_only

Do not write zeroes to APERF and MPERF by ondemand governor. With this
change, other users can share these MSRs for reads.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c