aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/xen.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-10-17 16:43:54 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-10-17 16:43:54 +0100
commit85cb5df14e14e07dfb902ffc1d3df4784c65d673 (patch)
tree833a8ad5cc0c81bc3171a3a54d025f58349d24eb /xen/include/public/xen.h
parentabf06ea91d1210d9cf7cde4c0465cd49b21efacb (diff)
downloadxen-85cb5df14e14e07dfb902ffc1d3df4784c65d673.tar.gz
xen-85cb5df14e14e07dfb902ffc1d3df4784c65d673.tar.bz2
xen-85cb5df14e14e07dfb902ffc1d3df4784c65d673.zip
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>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r--xen/include/public/xen.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h
index e42d01fa6e..9a5b394f03 100644
--- a/xen/include/public/xen.h
+++ b/xen/include/public/xen.h
@@ -43,8 +43,6 @@ DEFINE_XEN_GUEST_HANDLE(char);
__DEFINE_XEN_GUEST_HANDLE(uchar, unsigned char);
DEFINE_XEN_GUEST_HANDLE(int);
__DEFINE_XEN_GUEST_HANDLE(uint, unsigned int);
-DEFINE_XEN_GUEST_HANDLE(long);
-__DEFINE_XEN_GUEST_HANDLE(ulong, unsigned long);
DEFINE_XEN_GUEST_HANDLE(void);
DEFINE_XEN_GUEST_HANDLE(uint64_t);