ACPI / tables: table upgrade: use cacheable map for tables
authorAleksey Makarov <aleksey.makarov@linaro.org>
Mon, 20 Jun 2016 10:56:09 +0000 (13:56 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 21 Jun 2016 23:16:14 +0000 (01:16 +0200)
commitce0c1fcc7357ef0ec93c5a1cd1a759729d27599a
tree3fa7dc9dfd89038389e8c6e8e5123525e76c553a
parent33688abb2802ff3a230bd2441f765477b94cc89e
ACPI / tables: table upgrade: use cacheable map for tables

The new memory allocated in acpi_table_initrd_init() is used to
copy the upgraded tables to it.  So it should be mapped with
early_memunmap() instead of early_ioremap().

This is critical for ARM.

Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org>
Acked-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/tables.c