arm: parameter guest handles are 32 bit on 32 bit hypervisor
authorIan Campbell <ian.campbell@citrix.com>
Wed, 17 Oct 2012 15:43:55 +0000 (16:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 17 Oct 2012 15:43:55 +0000 (16:43 +0100)
Handles within structs remain 64 bit such that they are consistently
sized on both 32 and 64 bit.

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

index ac493a5481fd76dfd3bfd381e070302f1a1966f3..ff02d15502995dc26ada8a146d410f58c250c05b 100644 (file)
@@ -74,7 +74,7 @@
 #define __XEN_GUEST_HANDLE(name)        __guest_handle_64_ ## name
 #define XEN_GUEST_HANDLE(name)          __XEN_GUEST_HANDLE(name)
 /* this is going to be changed on 64 bit */
-#define XEN_GUEST_HANDLE_PARAM(name)   XEN_GUEST_HANDLE(name)
+#define XEN_GUEST_HANDLE_PARAM(name)    __guest_handle_ ## name
 #define set_xen_guest_handle_raw(hnd, val)                  \
     do {                                                    \
         typeof(&(hnd)) _sxghr_tmp = &(hnd);                 \