Messages in this thread Patch in this message | | | Date | Thu, 15 Feb 2001 08:59:34 +0100 (CET) | From | Philipp Matthias Hahn <> | Subject | [PATCH] acpi/cpu.c on SMP |
| |
Hello!
acpi_idle is disabled on SMP systems with more then 1 cpu. The boot message sais otherwise. This patch corrects the message.
--- linux-2.4.2/drivers/acpi/cpu.c.orig Sat Feb 10 12:01:52 2001 +++ linux-2.4.2/drivers/acpi/cpu.c Thu Feb 15 08:54:16 2001 @@ -335,13 +335,12 @@
acpi_pm_timer_init();
- if (acpi_use_idle) { #ifdef CONFIG_SMP - if (smp_num_cpus == 1) - pm_idle = acpi_idle; + if (acpi_use_idle && (smp_num_cpus == 1)) { #else - pm_idle = acpi_idle; + if (acpi_use_idle) { #endif + pm_idle = acpi_idle; printk(KERN_INFO "ACPI: Using ACPI idle\n"); printk(KERN_INFO "ACPI: If experiencing system slowness, try adding \"acpi=no-idle\" to cmdline\n"); } BYtE Philipp -- / / (_)__ __ ____ __ Philipp Hahn / /__/ / _ \/ // /\ \/ / /____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |