[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen public: make mmuext_op's vcpumask field const



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1242312364 -3600
# Node ID 3bac2fcfbafc16714ea301beb6a6cbe70692491e
# Parent  7d552e56d105786838ac027f3625486c9c2ea449
xen public: 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>
---
 xen/include/public/xen.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 7d552e56d105 -r 3bac2fcfbafc xen/include/public/xen.h
--- a/xen/include/public/xen.h  Wed May 13 10:39:44 2009 +0100
+++ b/xen/include/public/xen.h  Thu May 14 15:46:04 2009 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.