PM / ACPI: Move NVS saving and restoring code to drivers/acpi
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 7 Jan 2011 00:43:44 +0000 (01:43 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 7 Jan 2011 05:36:55 +0000 (00:36 -0500)
commit976513dbfc1547c7b1822566923058655f0c32fd
tree561e658e65a0136691cc9faebbe1ddf17a3429d3
parent26fcaf60fe3861409eb4c455c5c0d0f00f599b08
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>
arch/x86/kernel/e820.c
drivers/acpi/Makefile
drivers/acpi/internal.h
drivers/acpi/nvs.c [new file with mode: 0644]
include/linux/acpi.h
include/linux/suspend.h
kernel/power/Kconfig
kernel/power/Makefile
kernel/power/nvs.c [deleted file]