diff options
Diffstat (limited to 'drivers/cpufreq/acpi-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/acpi-cpufreq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c index ed9e93df7ecf..67a612e22179 100644 --- a/drivers/cpufreq/acpi-cpufreq.c +++ b/drivers/cpufreq/acpi-cpufreq.c | |||
@@ -25,6 +25,8 @@ | |||
25 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 25 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
29 | |||
28 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
29 | #include <linux/module.h> | 31 | #include <linux/module.h> |
30 | #include <linux/init.h> | 32 | #include <linux/init.h> |
@@ -50,8 +52,6 @@ MODULE_AUTHOR("Paul Diefenbaugh, Dominik Brodowski"); | |||
50 | MODULE_DESCRIPTION("ACPI Processor P-States Driver"); | 52 | MODULE_DESCRIPTION("ACPI Processor P-States Driver"); |
51 | MODULE_LICENSE("GPL"); | 53 | MODULE_LICENSE("GPL"); |
52 | 54 | ||
53 | #define PFX "acpi-cpufreq: " | ||
54 | |||
55 | enum { | 55 | enum { |
56 | UNDEFINED_CAPABLE = 0, | 56 | UNDEFINED_CAPABLE = 0, |
57 | SYSTEM_INTEL_MSR_CAPABLE, | 57 | SYSTEM_INTEL_MSR_CAPABLE, |
@@ -648,7 +648,7 @@ static int acpi_cpufreq_blacklist(struct cpuinfo_x86 *c) | |||
648 | if ((c->x86 == 15) && | 648 | if ((c->x86 == 15) && |
649 | (c->x86_model == 6) && | 649 | (c->x86_model == 6) && |
650 | (c->x86_mask == 8)) { | 650 | (c->x86_mask == 8)) { |
651 | pr_info("acpi-cpufreq: Intel(R) Xeon(R) 7100 Errata AL30, processors may lock up on frequency changes: disabling acpi-cpufreq\n"); | 651 | pr_info("Intel(R) Xeon(R) 7100 Errata AL30, processors may lock up on frequency changes: disabling acpi-cpufreq\n"); |
652 | return -ENODEV; | 652 | return -ENODEV; |
653 | } | 653 | } |
654 | } | 654 | } |
@@ -724,7 +724,7 @@ static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) | |||
724 | cpumask_copy(data->freqdomain_cpus, | 724 | cpumask_copy(data->freqdomain_cpus, |
725 | topology_sibling_cpumask(cpu)); | 725 | topology_sibling_cpumask(cpu)); |
726 | policy->shared_type = CPUFREQ_SHARED_TYPE_HW; | 726 | policy->shared_type = CPUFREQ_SHARED_TYPE_HW; |
727 | pr_info_once(PFX "overriding BIOS provided _PSD data\n"); | 727 | pr_info_once("overriding BIOS provided _PSD data\n"); |
728 | } | 728 | } |
729 | #endif | 729 | #endif |
730 | 730 | ||