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

No differences found