diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_driver.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index deefa8591746..b1034a9ada4e 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c | |||
@@ -922,9 +922,13 @@ static int __init acpi_processor_init(void) | |||
922 | return -ENOMEM; | 922 | return -ENOMEM; |
923 | #endif | 923 | #endif |
924 | 924 | ||
925 | if (!cpuidle_register_driver(&acpi_idle_driver)) | 925 | if (!cpuidle_register_driver(&acpi_idle_driver)) { |
926 | printk(KERN_DEBUG "ACPI: %s registered with cpuidle\n", | 926 | printk(KERN_DEBUG "ACPI: %s registered with cpuidle\n", |
927 | acpi_idle_driver.name); | 927 | acpi_idle_driver.name); |
928 | } else { | ||
929 | printk(KERN_DEBUG "ACPI: acpi_idle yielding to %s", | ||
930 | cpuidle_get_driver()->name); | ||
931 | } | ||
928 | 932 | ||
929 | result = acpi_bus_register_driver(&acpi_processor_driver); | 933 | result = acpi_bus_register_driver(&acpi_processor_driver); |
930 | if (result < 0) | 934 | if (result < 0) |