diff options
author | Andre Przywara <andre.przywara@amd.com> | 2012-09-04 04:28:04 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-09 16:04:41 -0400 |
commit | 034be8fd645bb77ca623036dc24c790b6cc803e2 (patch) | |
tree | 5be915aefef78aef8a13645f6358592cdb88484b /drivers/cpufreq/powernow-k8.c | |
parent | acd316248205d553594296f1895ba5196b89ffcc (diff) |
cpufreq: Add warning message to powernow-k8
cpufreq modules are often loaded from init scripts that assume that
all recent AMD systems will use powernow-k8.
To inform the user of the change of support and ease the transition
to acpi-cpufreq, emit a warning message.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/cpufreq/powernow-k8.c')
-rw-r--r-- | drivers/cpufreq/powernow-k8.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/cpufreq/powernow-k8.c b/drivers/cpufreq/powernow-k8.c index 33f17c4a1342..e2defb822bb1 100644 --- a/drivers/cpufreq/powernow-k8.c +++ b/drivers/cpufreq/powernow-k8.c | |||
@@ -1563,6 +1563,9 @@ static int __cpuinit powernowk8_init(void) | |||
1563 | if (!x86_match_cpu(powernow_k8_ids)) | 1563 | if (!x86_match_cpu(powernow_k8_ids)) |
1564 | return -ENODEV; | 1564 | return -ENODEV; |
1565 | 1565 | ||
1566 | if (static_cpu_has(X86_FEATURE_HW_PSTATE)) | ||
1567 | pr_warn(PFX "support for this CPU is deprecated, use acpi-cpufreq instead.\n"); | ||
1568 | |||
1566 | for_each_online_cpu(i) { | 1569 | for_each_online_cpu(i) { |
1567 | int rc; | 1570 | int rc; |
1568 | smp_call_function_single(i, check_supported_cpu, &rc, 1); | 1571 | smp_call_function_single(i, check_supported_cpu, &rc, 1); |