aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/x86_64
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-06 11:55:17 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-06 11:55:17 +0100
commit583731dce8006ab42a54e8d0d8015d52c2f20e66 (patch)
treebd5059eb291447d9d6d7fb09ab00617c9c1b4573 /xen/include/asm-x86/x86_64
parent8259ef78d3bf79d24a2a0280fbc0cddd03754ddb (diff)
downloadxen-583731dce8006ab42a54e8d0d8015d52c2f20e66.tar.gz
xen-583731dce8006ab42a54e8d0d8015d52c2f20e66.tar.bz2
xen-583731dce8006ab42a54e8d0d8015d52c2f20e66.zip
32on64: increase size of compat argument translation area to 2 pages.
The existing single page is not quite large enough to translate a XENMEM_exchange hypercall with order=3D9. Since Linux uses MAX_CONTIG_ORDER of 9 this seems like a reasonable upper bound to support. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/x86_64')
-rw-r--r--xen/include/asm-x86/x86_64/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/x86_64/uaccess.h b/xen/include/asm-x86/x86_64/uaccess.h
index f76be30d3e..40f5e4210d 100644
--- a/xen/include/asm-x86/x86_64/uaccess.h
+++ b/xen/include/asm-x86/x86_64/uaccess.h
@@ -2,7 +2,7 @@
#define __X86_64_UACCESS_H
#define COMPAT_ARG_XLAT_VIRT_BASE this_cpu(compat_arg_xlat)
-#define COMPAT_ARG_XLAT_SIZE PAGE_SIZE
+#define COMPAT_ARG_XLAT_SIZE (2*PAGE_SIZE)
DECLARE_PER_CPU(void *, compat_arg_xlat);
int setup_compat_arg_xlat(unsigned int cpu, int node);
#define is_compat_arg_xlat_range(addr, size) ({ \