xen/arm: mm: Use PAGE_HYPERVISOR_* instead of MT_* when calling set_fixmap
authorJulien Grall <julien.grall@arm.com>
Mon, 9 Oct 2017 13:23:37 +0000 (14:23 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 10 Oct 2017 21:22:11 +0000 (14:22 -0700)
commit7d68c8db25f0ffc7f39af2fc929f1c77c1affa01
tree84a33de90417978f7e8d90e61b4ac36ec9dbb809
parentb797f4d03bed21ff643a93909abdd58107b6c8cf
xen/arm: mm: Use PAGE_HYPERVISOR_* instead of MT_* when calling set_fixmap

At the moment, PAGE_HYPERVISOR_* and MT_* have exactly the same value.
In a follow-up patch the former will be extended to carry more
information.

It looks like the caller of set_fixmap are mixing the both. Stay
consistent and only use PAGE_HYPERVISOR_*. This is also match the
behavior of create_xen_entries and would potentially allow to share some
part in the future.

Also rename the parameter 'attributes' to 'flags' so it is clearer what
is the interface.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/kernel.c
xen/arch/arm/mm.c
xen/arch/arm/platforms/vexpress.c
xen/drivers/video/arm_hdlcd.c