direct-io.hg

changeset 12734:a467eb0c5596

Fixes a mistake in changeset 12732
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Wed Dec 06 10:05:41 2006 +0000 (2006-12-06)
parents 0bea8e773508
children 39509c8f5c09
files xen/arch/x86/mm/shadow/common.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/common.c	Tue Dec 05 17:01:34 2006 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/common.c	Wed Dec 06 10:05:41 2006 +0000
     1.3 @@ -1280,7 +1280,7 @@ sh_gfn_to_mfn_foreign(struct domain *d, 
     1.4           * Instead, just count the number of l3es from zero.  It's safe
     1.5           * to do this because we already checked that the gfn is within
     1.6           * the bounds of the p2m. */
     1.7 -        l3e += (((addr) & VADDR_MASK) >> L3_PAGETABLE_SHIFT);
     1.8 +        l3e += (addr >> L3_PAGETABLE_SHIFT);
     1.9  #else
    1.10          l3e += l3_table_offset(addr);        
    1.11  #endif