WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Trivial fix for a nasty PAE bug.

# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxx
# Node ID 216a8a934246e29b20f408845fdc6bb4a574e0a1
# Parent  422fee1de8e7313d71a1c9f75a59447febe694c0
Trivial fix for a nasty PAE bug.
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r 422fee1de8e7 -r 216a8a934246 
linux-2.6-xen-sparse/arch/xen/i386/mm/hypervisor.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/mm/hypervisor.c        Wed Sep  7 
16:52:49 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/mm/hypervisor.c        Wed Sep  7 
17:28:49 2005
@@ -106,7 +106,7 @@
 void xen_machphys_update(unsigned long mfn, unsigned long pfn)
 {
        mmu_update_t u;
-       u.ptr = (mfn << PAGE_SHIFT) | MMU_MACHPHYS_UPDATE;
+       u.ptr = ((unsigned long long)mfn << PAGE_SHIFT) | MMU_MACHPHYS_UPDATE;
        u.val = pfn;
        BUG_ON(HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF) < 0);
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Trivial fix for a nasty PAE bug., Xen patchbot -unstable <=