ia64/xen-unstable

changeset 4603:717d7dbd06ea

bitkeeper revision 1.1346 (4266c8260coTi59LSeJsnETrYAWOdw)

fix compile
author iap10@freefall.cl.cam.ac.uk
date Wed Apr 20 21:22:46 2005 +0000 (2005-04-20)
parents e02fc4c21740
children 9e4daf2e49d2 9c88ba91d330
files xen/arch/x86/vmx.c
line diff
     1.1 --- a/xen/arch/x86/vmx.c	Wed Apr 20 20:35:17 2005 +0000
     1.2 +++ b/xen/arch/x86/vmx.c	Wed Apr 20 21:22:46 2005 +0000
     1.3 @@ -396,7 +396,7 @@ vmx_copy(void *buf, unsigned long laddr,
     1.4  	return 0;
     1.5      }
     1.6  
     1.7 -    mfn = phys_to_machine_mapping(gva_to_gpte(laddr) >> PAGE_SHIFT);
     1.8 +    mfn = phys_to_machine_mapping(l1e_get_pfn(gva_to_gpte(laddr)));
     1.9      addr = map_domain_mem((mfn << PAGE_SHIFT) | (laddr & ~PAGE_MASK));
    1.10  
    1.11      if (dir == COPY_IN)