ACPI: Load acpi-cpufreq from processor driver automatically
authorAndi Kleen <ak@linux.intel.com>
Wed, 25 Jan 2012 23:09:08 +0000 (00:09 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Jan 2012 00:48:12 +0000 (16:48 -0800)
commit9061e0e16700ef228837e96987ff51794c956197
tree53d2ffa0fbc64f404848f4bfeb964d84cf08de36
parentb66b8b9a4a79087dde1b358a016e5c8739ccf186
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>
drivers/acpi/processor_driver.c
drivers/acpi/processor_perflib.c
include/acpi/processor.h