Pull d-states into release branch
[linux-2.6.git] / drivers / acpi / sleep / main.c
index 29bdb013f46cd85cdb82786ba3ee3cefa413d305..ab21357c5c7b7d60dd15883981ea3016a94963b2 100644 (file)
@@ -154,10 +154,12 @@ static int acpi_pm_finish(suspend_state_t pm_state)
 
        acpi_target_sleep_state = ACPI_STATE_S0;
 
+#ifdef CONFIG_X86
        if (init_8259A_after_S1) {
                printk("Broken toshiba laptop -> kicking interrupts\n");
                init_8259A(0);
        }
+#endif
        return 0;
 }
 
@@ -229,11 +231,6 @@ static void acpi_hibernation_finish(void)
 
        /* reset firmware waking vector */
        acpi_set_firmware_waking_vector((acpi_physical_address) 0);
-
-       if (init_8259A_after_S1) {
-               printk("Broken toshiba laptop -> kicking interrupts\n");
-               init_8259A(0);
-       }
 }
 
 static int acpi_hibernation_pre_restore(void)