xen/arm: p2m: Move comment that was misplaced
authorJulien Grall <julien.grall@linaro.org>
Tue, 22 Apr 2014 13:14:17 +0000 (14:14 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 2 May 2014 12:14:10 +0000 (13:14 +0100)
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/p2m.c

index 403fd89771618443480632ffa5195b159467e22e..0730da4b09338296df38009272614d0f544e048e 100644 (file)
@@ -383,10 +383,10 @@ static int apply_p2m_changes(struct domain *d,
             put_page(mfn_to_page(mfn));
         }
 
-        /* Allocate a new RAM page and attach */
         switch (op) {
             case ALLOCATE:
                 {
+                    /* Allocate a new RAM page and attach */
                     struct page_info *page;
 
                     ASSERT(!pte.p2m.valid);