]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
x86/64: Fix PAE-on-64 mmuext_op() preemption.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Feb 2008 15:15:36 +0000 (15:15 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Feb 2008 15:15:36 +0000 (15:15 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17096:ea1dc85d7122c6f0c11afbe4500c191b6896056f
xen-unstable date:        Wed Feb 20 18:18:03 2008 +0000

xen/arch/x86/x86_64/compat/mm.c

index 34795d16e2f0187fdbc6c6330406c9bdfdec9627..98235e72134df61d7daa64db48dd1cf538fe7dd5 100644 (file)
@@ -194,19 +194,9 @@ int compat_mmuext_op(XEN_GUEST_HANDLE(mmuext_op_compat_t) cmp_uops,
     for ( ; count; count -= i )
     {
         mmuext_op_t *nat_op = nat_ops.p;
-        unsigned int limit;
+        unsigned int limit = COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op);
         int err;
 
-        if ( hypercall_preempt_check() )
-        {
-            rc = hypercall_create_continuation(
-                __HYPERVISOR_mmuext_op, "hihi",
-                cmp_uops, count | MMU_UPDATE_PREEMPTED, pdone, foreigndom);
-            break;
-        }
-
-        limit = COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op);
-
         for ( i = 0; i < min(limit, count); ++i )
         {
             mmuext_op_compat_t cmp_op;