acpi-cpufreq: Do not let get_measured perf depend on internal variable
commitd876dfbbf5c8728102fb4f683450fa9ae3259cda
authorThomas Renninger <trenn@suse.de>
Fri, 17 Apr 2009 14:22:08 +0000 (17 16:22 +0200)
committerLen Brown <len.brown@intel.com>
Mon, 20 Apr 2009 02:47:21 +0000 (19 22:47 -0400)
tree238a665c3abd1384c2e1bcd96f5b9026f51f9f81
parentd91758f5ddb80e91176fa2cf80c88c1633950b3d
acpi-cpufreq: Do not let get_measured perf depend on internal variable

Take already available policy->cpuinfo.max_freq and get rid of acpi-cpufreq
specific max_freq variable.

This implies that P0 is always the highest frequency which should always
be true as ACPI spec says:
As a result, the zeroth entry describes the highest performance state

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