ia64/xen-unstable

changeset 19093:90909b81b3b9

xenoprof: Fix code indentation.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jan 26 16:34:51 2009 +0000 (2009-01-26)
parents beba88f6f90d
children 728d1892f0e2
files xen/common/xenoprof.c
line diff
     1.1 --- a/xen/common/xenoprof.c	Mon Jan 26 16:34:16 2009 +0000
     1.2 +++ b/xen/common/xenoprof.c	Mon Jan 26 16:34:51 2009 +0000
     1.3 @@ -136,23 +136,23 @@ share_xenoprof_page_with_guest(struct do
     1.4  {
     1.5      int i;
     1.6  
     1.7 -   /* Check if previous page owner has released the page. */
     1.8 -   for ( i = 0; i < npages; i++ )
     1.9 -   {
    1.10 -       struct page_info *page = mfn_to_page(mfn + i);
    1.11 -       if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 )
    1.12 -       {
    1.13 -           gdprintk(XENLOG_INFO, "mfn 0x%lx page->count_info 0x%lx\n",
    1.14 -                    mfn + i, (unsigned long)page->count_info);
    1.15 -           return -EBUSY;
    1.16 -       }
    1.17 -       page_set_owner(page, NULL);
    1.18 -   }
    1.19 +    /* Check if previous page owner has released the page. */
    1.20 +    for ( i = 0; i < npages; i++ )
    1.21 +    {
    1.22 +        struct page_info *page = mfn_to_page(mfn + i);
    1.23 +        if ( (page->count_info & (PGC_allocated|PGC_count_mask)) != 0 )
    1.24 +        {
    1.25 +            gdprintk(XENLOG_INFO, "mfn 0x%lx page->count_info 0x%lx\n",
    1.26 +                     mfn + i, (unsigned long)page->count_info);
    1.27 +            return -EBUSY;
    1.28 +        }
    1.29 +        page_set_owner(page, NULL);
    1.30 +    }
    1.31  
    1.32 -   for ( i = 0; i < npages; i++ )
    1.33 -       share_xen_page_with_guest(mfn_to_page(mfn + i), d, XENSHARE_writable);
    1.34 +    for ( i = 0; i < npages; i++ )
    1.35 +        share_xen_page_with_guest(mfn_to_page(mfn + i), d, XENSHARE_writable);
    1.36  
    1.37 -   return 0;
    1.38 +    return 0;
    1.39  }
    1.40  
    1.41  static void