[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Trivial simplification.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.