diff options
Diffstat (limited to 'arch/x86/kernel/acpi/sleep.c')
-rw-r--r-- | arch/x86/kernel/acpi/sleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index 4abff454c55b..7c243a2c5115 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c | |||
@@ -157,11 +157,11 @@ static int __init acpi_sleep_setup(char *str) | |||
157 | #ifdef CONFIG_HIBERNATION | 157 | #ifdef CONFIG_HIBERNATION |
158 | if (strncmp(str, "s4_nohwsig", 10) == 0) | 158 | if (strncmp(str, "s4_nohwsig", 10) == 0) |
159 | acpi_no_s4_hw_signature(); | 159 | acpi_no_s4_hw_signature(); |
160 | if (strncmp(str, "s4_nonvs", 8) == 0) | ||
161 | acpi_s4_no_nvs(); | ||
160 | #endif | 162 | #endif |
161 | if (strncmp(str, "old_ordering", 12) == 0) | 163 | if (strncmp(str, "old_ordering", 12) == 0) |
162 | acpi_old_suspend_ordering(); | 164 | acpi_old_suspend_ordering(); |
163 | if (strncmp(str, "s4_nonvs", 8) == 0) | ||
164 | acpi_s4_no_nvs(); | ||
165 | str = strchr(str, ','); | 165 | str = strchr(str, ','); |
166 | if (str != NULL) | 166 | if (str != NULL) |
167 | str += strspn(str, ", \t"); | 167 | str += strspn(str, ", \t"); |