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] [xen-unstable] Fixes a mistake in changeset 12732

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fixes a mistake in changeset 12732
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Dec 2006 12:40:14 +0000
Delivery-date: Wed, 06 Dec 2006 04:39:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Node ID a467eb0c55967e763b6639ac0c9b691c3b806d10
# Parent  0bea8e77350892af409ccd29463eb22bf09cb9f3
Fixes a mistake in changeset 12732
Signed-off-by: Xiaohui Xin <xiaohui.xin@xxxxxxxxx>
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 xen/arch/x86/mm/shadow/common.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0bea8e773508 -r a467eb0c5596 xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Tue Dec 05 17:01:34 2006 +0000
+++ b/xen/arch/x86/mm/shadow/common.c   Wed Dec 06 10:05:41 2006 +0000
@@ -1280,7 +1280,7 @@ sh_gfn_to_mfn_foreign(struct domain *d, 
          * Instead, just count the number of l3es from zero.  It's safe
          * to do this because we already checked that the gfn is within
          * the bounds of the p2m. */
-        l3e += (((addr) & VADDR_MASK) >> L3_PAGETABLE_SHIFT);
+        l3e += (addr >> L3_PAGETABLE_SHIFT);
 #else
         l3e += l3_table_offset(addr);        
 #endif

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fixes a mistake in changeset 12732, Xen patchbot-unstable <=