]> xenbits.xensource.com Git - xen.git/commit
x86: Fix RevF detection in powernow.c
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:11:52 +0000 (10:11 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:11:52 +0000 (10:11 +0100)
commit2220131142f3de7946d0c27c80d5d42c6cee3fa2
treef9f916a44e5df8e7589fe59b60dedd4bc1384b26
parent5856aed296ceccce3f718604e117f28e21ec1418
x86: Fix RevF detection in powernow.c

The PowerNow! driver does not support RevF and earlier parts.
The current code checks for RevF processors in a function that
is not called.  Change the code path so that RevF processors
are detected and the driver fails registration.

Also fix cpufreq_add_cpu() to handle unsuccessful registration.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
xen/arch/x86/acpi/cpufreq/powernow.c
xen/drivers/cpufreq/cpufreq.c