xen/arm: mm: Use memory flags for modify_xen_mappings rather than custom one
authorJulien Grall <julien.grall@arm.com>
Mon, 9 Oct 2017 13:23:41 +0000 (14:23 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 10 Oct 2017 21:25:25 +0000 (14:25 -0700)
commite2dfe4a037b0c6ccfd2375e4b60668109a0118e5
tree5210685745e77276f8931ad4fbc5bdea896979be
parent6b88beed40c756aaff018d286f4de31351240a93
xen/arm: mm: Use memory flags for modify_xen_mappings rather than custom one

This will help to consolidate the page-table code and avoid different
path depending on the action to perform.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/arm/livepatch.c
xen/arch/arm/mm.c
xen/include/asm-arm/page.h