]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: Avoid wiping out pr->performance during preregistering
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 24 Mar 2009 12:41:59 +0000 (13:41 +0100)
committerLen Brown <len.brown@intel.com>
Sat, 28 Mar 2009 01:11:55 +0000 (21:11 -0400)
commite1eb47797ac0773cb3efe7495e14fc26e18a23c2
tree6e49293edde8c6482758caf5c30ec1dc3a89975f
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84
ACPI: Avoid wiping out pr->performance during preregistering

When cpufreq driver call acpi_processor_preregister_performance() , function
will clean up pr->performance even if there is possibly already registered
other cpufreq driver. The patch fix this potential problem. It also remove
double checks in P domain basic validity code and move these checks to function
where _PSD data is captured.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_perflib.c