diff options
author | Andi Kleen <ak@linux.intel.com> | 2012-01-25 18:09:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-26 19:48:12 -0500 |
commit | 9061e0e16700ef228837e96987ff51794c956197 (patch) | |
tree | 53d2ffa0fbc64f404848f4bfeb964d84cf08de36 /include/acpi | |
parent | b66b8b9a4a79087dde1b358a016e5c8739ccf186 (diff) |
ACPI: Load acpi-cpufreq from processor driver automatically
The only left over hole in automatic cpufreq driver loading was the loading
of ACPI cpufreq. This driver should be loaded when ACPI supports a _PDC
method and the CPU vendor wants to use acpi cpufreq.
Simply add a request module call to the acpi processor core driver
when this is true. This seems like the simplest solution for this.
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 610f6fb1bbc2..da57fdcc57d2 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -224,6 +224,7 @@ struct acpi_processor_errata { | |||
224 | } piix4; | 224 | } piix4; |
225 | }; | 225 | }; |
226 | 226 | ||
227 | extern void acpi_processor_load_module(struct acpi_processor *pr); | ||
227 | extern int acpi_processor_preregister_performance(struct | 228 | extern int acpi_processor_preregister_performance(struct |
228 | acpi_processor_performance | 229 | acpi_processor_performance |
229 | __percpu *performance); | 230 | __percpu *performance); |