diff options
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 721e949e606e..b718806657cd 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -18,12 +18,8 @@ | |||
18 | #include <linux/reboot.h> | 18 | #include <linux/reboot.h> |
19 | #include <linux/acpi.h> | 19 | #include <linux/acpi.h> |
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | |||
22 | #include <asm/io.h> | 21 | #include <asm/io.h> |
23 | 22 | ||
24 | #include <acpi/acpi_bus.h> | ||
25 | #include <acpi/acpi_drivers.h> | ||
26 | |||
27 | #include "internal.h" | 23 | #include "internal.h" |
28 | #include "sleep.h" | 24 | #include "sleep.h" |
29 | 25 | ||
@@ -670,11 +666,8 @@ static void acpi_hibernation_leave(void) | |||
670 | /* Reprogram control registers */ | 666 | /* Reprogram control registers */ |
671 | acpi_leave_sleep_state_prep(ACPI_STATE_S4); | 667 | acpi_leave_sleep_state_prep(ACPI_STATE_S4); |
672 | /* Check the hardware signature */ | 668 | /* Check the hardware signature */ |
673 | if (facs && s4_hardware_signature != facs->hardware_signature) { | 669 | if (facs && s4_hardware_signature != facs->hardware_signature) |
674 | printk(KERN_EMERG "ACPI: Hardware changed while hibernated, " | 670 | pr_crit("ACPI: Hardware changed while hibernated, success doubtful!\n"); |
675 | "cannot resume!\n"); | ||
676 | panic("ACPI S4 hardware signature mismatch"); | ||
677 | } | ||
678 | /* Restore the NVS memory area */ | 671 | /* Restore the NVS memory area */ |
679 | suspend_nvs_restore(); | 672 | suspend_nvs_restore(); |
680 | /* Allow EC transactions to happen. */ | 673 | /* Allow EC transactions to happen. */ |
@@ -806,9 +799,6 @@ int __init acpi_sleep_init(void) | |||
806 | char *pos = supported; | 799 | char *pos = supported; |
807 | int i; | 800 | int i; |
808 | 801 | ||
809 | if (acpi_disabled) | ||
810 | return 0; | ||
811 | |||
812 | acpi_sleep_dmi_check(); | 802 | acpi_sleep_dmi_check(); |
813 | 803 | ||
814 | sleep_states[ACPI_STATE_S0] = 1; | 804 | sleep_states[ACPI_STATE_S0] = 1; |