xen: arm: allow virt_to_maddr to take either a pointer or an integer
authorIan Campbell <ian.campbell@citrix.com>
Thu, 8 Aug 2013 12:15:15 +0000 (13:15 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 20 Aug 2013 14:44:36 +0000 (15:44 +0100)
commit530cef20c3c2b9c58e73d7a768665464f20653e7
tree8cafca7e05172bc356b5d658ca773e505911389c
parent8b36092b02e036088420ba9056afb447a90120e6
xen: arm: allow virt_to_maddr to take either a pointer or an integer

This seems to be expected by common code which passes both pointers and
unsigned long as virtual addresses. The latter case in particular is in
init_node_heap() under a DIRECTMAP_VIRT_END #ifdef, which is why it hasn't
affected us yet (but will in a subsequent patch).

The new prototypes match the x86 versions apart from using vaddr_t instead of
unsigned long.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/include/asm-arm/mm.h