Skip to contentSkip to conversation

acpi: remove acpi_sleep=s4_nonvs

PATCH RESEND In review Amerigo Wang 2 participants 3 messages Apr 6, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 acpi: remove acpi_sleep=s4_nonvs

First post is here: https://lkml.org/lkml/2011/1/19/4

acpi_sleep=s4_nonvs is superseded by acpi_sleep=nonvs.

---
 Documentation/feature-removal-schedule.txt |    8 --------
 Documentation/kernel-parameters.txt        |    2 +-
 arch/x86/kernel/acpi/sleep.c               |    5 -----
 3 files changed, 1 insertions(+), 14 deletions(-)
Documentation/feature-removal-schedule.txt +0 -8
index 274b32d..f57775c 100644
@@ -480,14 +480,6 @@ Who:	Thomas Gleixner <[email protected]>
 
 ----------------------------
 
-What:	The acpi_sleep=s4_nonvs command line option
-When:	2.6.37
-Files:	arch/x86/kernel/acpi/sleep.c
-Why:	superseded by acpi_sleep=nonvs
-Who:	Rafael J. Wysocki <[email protected]>
-
-----------------------------
-
 What: 	PCI DMA unmap state API
 When:	August 2012
 Why:	PCI DMA unmap state API (include/linux/pci-dma.h) was replaced
Documentation/kernel-parameters.txt +1 -1
index d2b5150..26c69c1 100644
@@ -245,7 +245,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 
 	acpi_sleep=	[HW,ACPI] Sleep options
 			Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
-				  old_ordering, s4_nonvs, sci_force_enable }
+				  old_ordering, nonvs, sci_force_enable }
 			See Documentation/power/video.txt for information on
 			s3_bios and s3_mode.
 			s3_beep is for debugging; it makes the PC's speaker beep
arch/x86/kernel/acpi/sleep.c +0 -5
index ff93bc1..18a857b 100644
@@ -112,11 +112,6 @@ static int __init acpi_sleep_setup(char *str)
 #ifdef CONFIG_HIBERNATION
 		if (strncmp(str, "s4_nohwsig", 10) == 0)
 			acpi_no_s4_hw_signature();
-		if (strncmp(str, "s4_nonvs", 8) == 0) {
-			pr_warning("ACPI: acpi_sleep=s4_nonvs is deprecated, "
-					"please use acpi_sleep=nonvs instead");
-			acpi_nvs_nosave();
-		}
 #endif
 		if (strncmp(str, "nonvs", 5) == 0)
 			acpi_nvs_nosave();