diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-01-07 01:43:44 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-07 06:36:55 +0100 |
commit | 976513dbfc1547c7b1822566923058655f0c32fd (patch) | |
tree | 561e658e65a0136691cc9faebbe1ddf17a3429d3 /kernel/power/Kconfig | |
parent | PM: Fix oops in suspend/hibernate code related to failing ioremap() (diff) | |
download | linux-976513dbfc1547c7b1822566923058655f0c32fd.tar.xz linux-976513dbfc1547c7b1822566923058655f0c32fd.zip |
PM / ACPI: Move NVS saving and restoring code to drivers/acpi
The saving of the ACPI NVS area during hibernation and suspend and
restoring it during the subsequent resume is entirely specific to
ACPI, so move it to drivers/acpi and drop the CONFIG_SUSPEND_NVS
configuration option which is redundant.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index a5aff3ebad38..265729966ece 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -100,13 +100,9 @@ config PM_SLEEP_ADVANCED_DEBUG depends on PM_ADVANCED_DEBUG default n -config SUSPEND_NVS - bool - config SUSPEND bool "Suspend to RAM and standby" depends on PM && ARCH_SUSPEND_POSSIBLE - select SUSPEND_NVS if HAS_IOMEM default y ---help--- Allow the system to enter sleep states in which main memory is @@ -140,7 +136,6 @@ config HIBERNATION depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE select LZO_COMPRESS select LZO_DECOMPRESS - select SUSPEND_NVS if HAS_IOMEM ---help--- Enable the suspend to disk (STD) functionality, which is usually called "hibernation" in user interfaces. STD checkpoints the |