[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Fix debug build.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203085002 0
# Node ID 819399d0bdb14803252829da64942f102b579ccc
# Parent  c6eeb71a85cffe917bc8d6738fd36e6694dba4d6
x86: Fix debug build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/multi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c6eeb71a85cf -r 819399d0bdb1 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Fri Feb 15 14:13:17 2008 +0000
+++ b/xen/arch/x86/mm/shadow/multi.c    Fri Feb 15 14:16:42 2008 +0000
@@ -2768,7 +2768,7 @@ static int sh_page_fault(struct vcpu *v,
         if ( regs->error_code == (PFEC_write_access | PFEC_page_present) )
         {
             fast_emul = 1;
-            gmfn = v->arch.paging.shadow.last_emulated_mfn;
+            gmfn = _mfn(v->arch.paging.shadow.last_emulated_mfn);
             perfc_incr(shadow_fault_fast_emulate);
             goto early_emulation;
         }
@@ -3068,7 +3068,7 @@ static int sh_page_fault(struct vcpu *v,
         if ( !fast_emul )
         {
             v->arch.paging.shadow.last_emulated_frame = va >> PAGE_SHIFT;
-            v->arch.paging.shadow.last_emulated_mfn = gmfn;
+            v->arch.paging.shadow.last_emulated_mfn = mfn_x(gmfn);
             v->arch.paging.last_write_emul_ok = 1;
         }
     }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.