ACPI / PM: Make suspend_nvs_save() use acpi_os_map_memory()
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 7 Jan 2011 00:45:58 +0000 (01:45 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 7 Jan 2011 06:04:07 +0000 (01:04 -0500)
commitca9b600be38c73b7d25acfb8b7e4e9a9e941d881
tree029c03cf04c3a65cfb3c8bbca0e4e6a34eaa07e4
parentd146df18c13d16e321efa8ef9b57c95c3bec1722
ACPI / PM: Make suspend_nvs_save() use acpi_os_map_memory()

It turns out that the NVS memory region that suspend_nvs_save()
attempts to map has been already mapped by acpi_os_map_memory(), so
suspend_nvs_save() should better use acpi_os_map_memory() for mapping
memory to avoid conflicts.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/nvs.c