[CPUFREQ][2/2] preregister support for powernow-k8
commit34ae7f35a21694aa5cb8829dc5142c39d73d6ba0
authorMark Langsdorf <mark.langsdorf@amd.com>
Thu, 31 Jul 2008 17:39:12 +0000 (31 12:39 -0500)
committerDave Jones <davej@redhat.com>
Fri, 8 Aug 2008 20:00:49 +0000 (8 16:00 -0400)
treecd76799b6e1a0b628f224f53dce882db55840686
parent23431b495fcbbde6d09aba30019b6a224d543cf9
[CPUFREQ][2/2] preregister support for powernow-k8

This patch provides support for the _PSD ACPI object in the Powernow-k8
driver.  Although it looks like an invasive patch, most of it is
simply the consequence of turning the static acpi_performance_data
structure into a pointer.

AMD has tested it on several machines over the past few days without issue.

[trivial checkpatch warnings fixed up by davej]
[X86_POWERNOW_K8_ACPI=n buildfix from Randy Dunlap]

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Tested-by: Frank Arnold <frank.arnold@amd.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
arch/x86/kernel/cpu/cpufreq/powernow-k8.h