# 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
|