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] xenoprof: Fix code indentation.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xenoprof: Fix code indentation.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Jan 2009 18:50:18 -0800
Delivery-date: Mon, 26 Jan 2009 18:50:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1232987691 0
# Node ID 90909b81b3b9cf9b303e2bc457580603da3ac7fd
# Parent  beba88f6f90d24203c69585ab39641a5b9e8db88
xenoprof: Fix code indentation.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/xenoprof.c |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff -r beba88f6f90d -r 90909b81b3b9 xen/common/xenoprof.c
--- a/xen/common/xenoprof.c     Mon Jan 26 16:34:16 2009 +0000
+++ b/xen/common/xenoprof.c     Mon Jan 26 16:34:51 2009 +0000
@@ -136,23 +136,23 @@ share_xenoprof_page_with_guest(struct do
 {
     int i;
 
-   /* Check if previous page owner has released the page. */
-   for ( i = 0; i < npages; i++ )
-   {
-       struct page_info *page = mfn_to_page(mfn + i);
-       if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 )
-       {
-           gdprintk(XENLOG_INFO, "mfn 0x%lx page->count_info 0x%lx\n",
-                    mfn + i, (unsigned long)page->count_info);
-           return -EBUSY;
-       }
-       page_set_owner(page, NULL);
-   }
-
-   for ( i = 0; i < npages; i++ )
-       share_xen_page_with_guest(mfn_to_page(mfn + i), d, XENSHARE_writable);
-
-   return 0;
+    /* Check if previous page owner has released the page. */
+    for ( i = 0; i < npages; i++ )
+    {
+        struct page_info *page = mfn_to_page(mfn + i);
+        if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 )
+        {
+            gdprintk(XENLOG_INFO, "mfn 0x%lx page->count_info 0x%lx\n",
+                     mfn + i, (unsigned long)page->count_info);
+            return -EBUSY;
+        }
+        page_set_owner(page, NULL);
+    }
+
+    for ( i = 0; i < npages; i++ )
+        share_xen_page_with_guest(mfn_to_page(mfn + i), d, XENSHARE_writable);
+
+    return 0;
 }
 
 static void

_______________________________________________
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] xenoprof: Fix code indentation., Xen patchbot-unstable <=