suspend: Move NVS save/restore code to generic suspend functionality
authorMatthew Garrett <mjg@redhat.com>
Fri, 28 May 2010 20:32:14 +0000 (16:32 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 10 Jun 2010 15:02:34 +0000 (11:02 -0400)
commitdd4c4f17d722ffeb2515bf781400675a30fcead7
tree0190eff340ffeac7800a3d7d1e0c1232c09397ef
parent67a3e12b05e055c0415c556a315a3d3eb637e29e
suspend: Move NVS save/restore code to generic suspend functionality

Saving platform non-volatile state may be required for suspend to RAM as
well as hibernation. Move it to more generic code.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/e820.c
drivers/acpi/sleep.c
include/linux/suspend.h
kernel/power/Kconfig
kernel/power/Makefile
kernel/power/hibernate_nvs.c [deleted file]
kernel/power/nvs.c [new file with mode: 0644]
kernel/power/suspend.c