ia64/xen-unstable

changeset 17096:ea1dc85d7122

x86/64: Fix PAE-on-64 mmuext_op() preemption.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 20 18:18:03 2008 +0000 (2008-02-20)
parents 28dcae176191
children 221b2680ffe5
files xen/arch/x86/x86_64/compat/mm.c
line diff
     1.1 --- a/xen/arch/x86/x86_64/compat/mm.c	Wed Feb 20 18:00:28 2008 +0000
     1.2 +++ b/xen/arch/x86/x86_64/compat/mm.c	Wed Feb 20 18:18:03 2008 +0000
     1.3 @@ -194,19 +194,9 @@ int compat_mmuext_op(XEN_GUEST_HANDLE(mm
     1.4      for ( ; count; count -= i )
     1.5      {
     1.6          mmuext_op_t *nat_op = nat_ops.p;
     1.7 -        unsigned int limit;
     1.8 +        unsigned int limit = COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op);
     1.9          int err;
    1.10  
    1.11 -        if ( hypercall_preempt_check() )
    1.12 -        {
    1.13 -            rc = hypercall_create_continuation(
    1.14 -                __HYPERVISOR_mmuext_op, "hihi",
    1.15 -                cmp_uops, count | MMU_UPDATE_PREEMPTED, pdone, foreigndom);
    1.16 -            break;
    1.17 -        }
    1.18 -
    1.19 -        limit = COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op);
    1.20 -
    1.21          for ( i = 0; i < min(limit, count); ++i )
    1.22          {
    1.23              mmuext_op_compat_t cmp_op;