]> git.hungrycats.org Git - linux/commit
[ACPI] remove unnecessary check in acpi-cpufreq driver
authorDominik Brodowski <linux@dominikbrodowski.de>
Wed, 28 Jan 2004 12:04:03 +0000 (07:04 -0500)
committerLen Brown <lenb@dhcppc3.>
Wed, 28 Jan 2004 12:04:03 +0000 (07:04 -0500)
commit987865cc03f8564f5133e62f9fbccde5e587af62
tree89d1e1b51236531ff90d563e516c86b9790b469a
parent08e90ccc2fa1333b246a8b49eea577681dd3f8e2
[ACPI] remove unnecessary check in acpi-cpufreq driver
from Dominik Brodowski

The acpi cpufreq driver includes a test at startup which detects whether
ACPI P-States are supported on any CPU, and whether transitions work.
However, this test is faulty: it is only run _after_ the acpi driver is
registered, causing race situations. Also, it doesn't save anything _as_ the
driver is already registered. So, it can safely be removed.
arch/i386/kernel/cpu/cpufreq/acpi.c