aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/xen.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-05-14 15:46:04 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-05-14 15:46:04 +0100
commitcda3e8c2a8e98f1883a49ccdd05357797b7e9e89 (patch)
tree6ce417af484ebdcb795cee538e5611d03ddd61db /xen/include/public/xen.h
parent76bc713dd7fd13efa92fc129ac3910a1d00a4fda (diff)
downloadxen-cda3e8c2a8e98f1883a49ccdd05357797b7e9e89.tar.gz
xen-cda3e8c2a8e98f1883a49ccdd05357797b7e9e89.tar.bz2
xen-cda3e8c2a8e98f1883a49ccdd05357797b7e9e89.zip
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@novell.com>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r--xen/include/public/xen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h
index fb03d0c22c..524118b6d7 100644
--- a/xen/include/public/xen.h
+++ b/xen/include/public/xen.h
@@ -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;