ia64/xen-unstable

changeset 17083:819399d0bdb1

x86: Fix debug build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Feb 15 14:16:42 2008 +0000 (2008-02-15)
parents c6eeb71a85cf
children 1cb8d51b4d77
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Fri Feb 15 14:13:17 2008 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Fri Feb 15 14:16:42 2008 +0000
     1.3 @@ -2768,7 +2768,7 @@ static int sh_page_fault(struct vcpu *v,
     1.4          if ( regs->error_code == (PFEC_write_access | PFEC_page_present) )
     1.5          {
     1.6              fast_emul = 1;
     1.7 -            gmfn = v->arch.paging.shadow.last_emulated_mfn;
     1.8 +            gmfn = _mfn(v->arch.paging.shadow.last_emulated_mfn);
     1.9              perfc_incr(shadow_fault_fast_emulate);
    1.10              goto early_emulation;
    1.11          }
    1.12 @@ -3068,7 +3068,7 @@ static int sh_page_fault(struct vcpu *v,
    1.13          if ( !fast_emul )
    1.14          {
    1.15              v->arch.paging.shadow.last_emulated_frame = va >> PAGE_SHIFT;
    1.16 -            v->arch.paging.shadow.last_emulated_mfn = gmfn;
    1.17 +            v->arch.paging.shadow.last_emulated_mfn = mfn_x(gmfn);
    1.18              v->arch.paging.last_write_emul_ok = 1;
    1.19          }
    1.20      }