ia64/xen-unstable

changeset 6683:216a8a934246

Trivial fix for a nasty PAE bug.
Signed-off-by: ian@xensource.com
author iap10@firebug.cl.cam.ac.uk
date Wed Sep 07 17:28:49 2005 +0000 (2005-09-07)
parents 422fee1de8e7
children cbf43be4cc17
files linux-2.6-xen-sparse/arch/xen/i386/mm/hypervisor.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/i386/mm/hypervisor.c	Wed Sep 07 16:52:49 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/i386/mm/hypervisor.c	Wed Sep 07 17:28:49 2005 +0000
     1.3 @@ -106,7 +106,7 @@ void xen_l4_entry_update(pgd_t *ptr, pgd
     1.4  void xen_machphys_update(unsigned long mfn, unsigned long pfn)
     1.5  {
     1.6  	mmu_update_t u;
     1.7 -	u.ptr = (mfn << PAGE_SHIFT) | MMU_MACHPHYS_UPDATE;
     1.8 +	u.ptr = ((unsigned long long)mfn << PAGE_SHIFT) | MMU_MACHPHYS_UPDATE;
     1.9  	u.val = pfn;
    1.10  	BUG_ON(HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF) < 0);
    1.11  }