debuggers.hg
changeset 19638:3bac2fcfbafc
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>
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>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Thu May 14 15:46:04 2009 +0100 (2009-05-14) |
parents | 7d552e56d105 |
children | b7f4937d76d1 |
files | xen/include/public/xen.h |
line diff
1.1 --- a/xen/include/public/xen.h Wed May 13 10:39:44 2009 +0100 1.2 +++ b/xen/include/public/xen.h Thu May 14 15:46:04 2009 +0100 1.3 @@ -272,9 +272,9 @@ struct mmuext_op { 1.4 unsigned int nr_ents; 1.5 /* TLB_FLUSH_MULTI, INVLPG_MULTI */ 1.6 #if __XEN_INTERFACE_VERSION__ >= 0x00030205 1.7 - XEN_GUEST_HANDLE(void) vcpumask; 1.8 + XEN_GUEST_HANDLE(const_void) vcpumask; 1.9 #else 1.10 - void *vcpumask; 1.11 + const void *vcpumask; 1.12 #endif 1.13 /* COPY_PAGE */ 1.14 xen_pfn_t src_mfn;