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] [XEN] Trivial simplification.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] Trivial simplification.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Sep 2006 19:30:13 +0000
Delivery-date: Wed, 20 Sep 2006 12:30:56 -0700
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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID c3b4b9dc23acabb7e9b5ee491a1f62d0415c4a9e
# Parent  3e39cc16dd4164c7b5debb6649e6531cf8d9fd22
[XEN] Trivial simplification.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 3e39cc16dd41 -r c3b4b9dc23ac xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Wed Sep 20 17:58:10 2006 +0100
+++ b/xen/arch/x86/mm.c Wed Sep 20 17:59:30 2006 +0100
@@ -1590,7 +1590,6 @@ void put_page_type(struct page_info *pag
 void put_page_type(struct page_info *page)
 {
     unsigned long nx, x, y = page->u.inuse.type_info;
-    struct domain *owner = page_get_owner(page);
 
  again:
     do {
@@ -1631,7 +1630,7 @@ void put_page_type(struct page_info *pag
      * until the type count has been zeroed by the CMPXCHG above.
      */
     if ( unlikely((nx & PGT_count_mask) == 0) )
-        mark_dirty(owner, page_to_mfn(page));
+        mark_dirty(page_get_owner(page), page_to_mfn(page));
 }
 
 

_______________________________________________
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] [XEN] Trivial simplification., Xen patchbot-unstable <=