]> xenbits.xensource.com Git - xen.git/commitdiff
pdx: correct indentation
authorJan Beulich <jbeulich@suse.com>
Thu, 7 Dec 2017 10:08:41 +0000 (11:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 Dec 2017 10:08:41 +0000 (11:08 +0100)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/pdx.c

index c991a09522cd1cc2e669988d91f395a0d29cf77f..1a2100c9d9b9eca633007069d5aefd6e10ee082a 100644 (file)
@@ -42,19 +42,20 @@ bool __mfn_valid(unsigned long mfn)
 /* Sets all bits from the most-significant 1-bit down to the LSB */
 static u64 __init fill_mask(u64 mask)
 {
-        while (mask & (mask + 1))
-                mask |= mask + 1;
-        return mask;
+    while (mask & (mask + 1))
+        mask |= mask + 1;
+
+    return mask;
 }
 
 u64 __init pdx_init_mask(u64 base_addr)
 {
-       return fill_mask(base_addr - 1);
+    return fill_mask(base_addr - 1);
 }
 
 u64 __init pdx_region_mask(u64 base, u64 len)
 {
-       return fill_mask(base ^ (base + len - 1));
+    return fill_mask(base ^ (base + len - 1));
 }
 
 void set_pdx_range(unsigned long smfn, unsigned long emfn)