aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/cpufreq/powernow-k8.h
diff options
context:
space:
mode:
authorMark Langsdorf <mark.langsdorf@amd.com>2009-07-26 10:55:25 -0500
committerDave Jones <davej@redhat.com>2009-07-06 21:38:29 -0400
commita2e1b4c31257c07f148a89eb7eea7ca959fd0642 (patch)
treeeaae8997da18faff587d67e35bcdc2d2b3440ee5 /arch/x86/kernel/cpu/cpufreq/powernow-k8.h
parent[CPUFREQ] fix (utter) cpufreq_add_dev mess (diff)
downloadlinux-dev-a2e1b4c31257c07f148a89eb7eea7ca959fd0642.tar.xz
linux-dev-a2e1b4c31257c07f148a89eb7eea7ca959fd0642.zip
[CPUFREQ] Powernow-k8: support family 0xf with 2 low p-states
Provide support for family 0xf processors with 2 P-states below the elevator voltage. Remove the checks that prevent this configuration from being supported and increase the transition voltage to prevent errors during the transition. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to '')
-rw-r--r--arch/x86/kernel/cpu/cpufreq/powernow-k8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.h b/arch/x86/kernel/cpu/cpufreq/powernow-k8.h
index c9c1190b5e1f..02ce824073cb 100644
--- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.h
+++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.h
@@ -215,7 +215,8 @@ struct pst_s {
#define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, "powernow-k8", msg)
-static int core_voltage_pre_transition(struct powernow_k8_data *data, u32 reqvid);
+static int core_voltage_pre_transition(struct powernow_k8_data *data,
+ u32 reqvid, u32 regfid);
static int core_voltage_post_transition(struct powernow_k8_data *data, u32 reqvid);
static int core_frequency_transition(struct powernow_k8_data *data, u32 reqfid);