xen: remove XEN_GUEST_HANDLE(ulong)
authorIan Campbell <ian.campbell@citrix.com>
Wed, 17 Oct 2012 15:43:54 +0000 (16:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 17 Oct 2012 15:43:54 +0000 (16:43 +0100)
commit85cb5df14e14e07dfb902ffc1d3df4784c65d673
tree833a8ad5cc0c81bc3171a3a54d025f58349d24eb
parentabf06ea91d1210d9cf7cde4c0465cd49b21efacb
xen: remove XEN_GUEST_HANDLE(ulong)

Having both this handle (always unsigned long) and
XEN_GUEST_HANDLE(xen_ulong_t) (unsigned long on x86 and explicit size
of ARM) is confusing and error prone.

Replace the two remaining uses of the ulong handle, in grant set and
x86 set_gdt hypercalls, with xen_ulong_t.

This correctly sizes the grant frame entry as 64 bit on ARM but
leaves it as unsigned long on x86 (therefore no intended change on
x86). Likewise in set_gdt there is no actual change.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/x86/mm.c
xen/common/grant_table.c
xen/include/asm-x86/hypercall.h
xen/include/public/grant_table.h
xen/include/public/xen.h