]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
acpi: refactor acpi_os_map_memory to be architecturally independent
authorShannon Zhao <shannon.zhao@linaro.org>
Mon, 1 Feb 2016 12:56:54 +0000 (13:56 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 1 Feb 2016 12:56:54 +0000 (13:56 +0100)
commit1d0f16710b6b2ef3d72eaf4d8426d98594b91b92
tree5439e2f9df4129f19014e574f476a535579ae410
parent123d8d1b9b18d6b036d37b3acfdc43434644cc87
acpi: refactor acpi_os_map_memory to be architecturally independent

The first Mb handling is not necessary and the attribute of __vmap() is
different for ARM. Factor the first Mb handling only for x86 and define
a mapping attribute for each architecture.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/acpi/osl.c
xen/include/asm-x86/acpi.h