[CPUFREQ] fix cpuinfo_cur_freq for CPU_HW_PSTATE
authorJoachim Deguara <joachim.deguara@amd.com>
Tue, 30 Jan 2007 15:53:54 +0000 (16:53 +0100)
committerDave Jones <davej@redhat.com>
Sat, 3 Feb 2007 22:25:19 +0000 (17:25 -0500)
commit58389a86df48ff927846df9537ea34d9961b5c44
tree1cdf535d0ec444e63f687011b789a20ba0534e9b
parent14796722839ee50ed2a2c7a6a135e7d0888aaada
[CPUFREQ] fix cpuinfo_cur_freq for CPU_HW_PSTATE

This fixes the cpuinfo_cur_freq value by using the correct
find_khz_freq_from_fiddid() when the CPU uses hardware p-states.

Signed-off-by: Joachim Deguara <joachim.deguara@amd.com>
Acked-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c