]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/processor_idle.c
Merge branches 'release', 'dmi', 'idle' and 'misc' into release
[linux-2.6-omap-h63xx.git] / drivers / acpi / processor_idle.c
index baa389b908e2bd827f1b22cf6619bf6e585f2e81..980e1c33e6c5eeb11a7ec91132c2aa1cb614ef0a 100644 (file)
@@ -1425,6 +1425,14 @@ static int acpi_idle_enter_c1(struct cpuidle_device *dev,
                return 0;
 
        local_irq_disable();
+
+       /* Do not access any ACPI IO ports in suspend path */
+       if (acpi_idle_suspend) {
+               acpi_safe_halt();
+               local_irq_enable();
+               return 0;
+       }
+
        if (pr->flags.bm_check)
                acpi_idle_update_bm_rld(pr, cx);