aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/grant_table.c
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/common/grant_table.c
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/common/grant_table.c')
-rw-r--r--xen/common/grant_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c
index f4ae9ee3a3..79127694ac 100644
--- a/xen/common/grant_table.c
+++ b/xen/common/grant_table.c
@@ -1322,7 +1322,7 @@ gnttab_setup_table(
struct domain *d;
struct grant_table *gt;
int i;
- unsigned long gmfn;
+ xen_pfn_t gmfn;
if ( count != 1 )
return -EINVAL;