[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] make mmuext_op's vcpumask field const
Linux started to pass around pointers to 'const cpumask_t' a while ago, and passing such a pointer to set_xen_guest_handle() requires that the field be a handle for a constant type in order to avoid compiler warnings. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- 2009-03-27.orig/xen/include/public/xen.h 2009-03-12 09:54:39.000000000 +0100 +++ 2009-03-27/xen/include/public/xen.h 2009-05-14 14:09:46.000000000 +0200 @@ -272,9 +272,9 @@ struct mmuext_op { unsigned int nr_ents; /* TLB_FLUSH_MULTI, INVLPG_MULTI */ #if __XEN_INTERFACE_VERSION__ >= 0x00030205 - XEN_GUEST_HANDLE(void) vcpumask; + XEN_GUEST_HANDLE(const_void) vcpumask; #else - void *vcpumask; + const void *vcpumask; #endif /* COPY_PAGE */ xen_pfn_t src_mfn; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |