Skip to contentSkip to conversation

x86: clean up struct page_info

PATCH New Jan Beulich 1 participant 1 message Jan 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: clean up struct page_info

Remove the now unnecessary (and leading to misalignment of cpumask on x86-64) 'packed' attributes.

xen/include/asm-x86/mm.h +2 -2
@@ -34,7 +34,7 @@ struct page_info
             unsigned long _domain; /* pickled format */
             /* Type reference count and various PGT_xxx flags and fields. */
             unsigned long type_info;
-        } __attribute__ ((packed)) inuse;
+        } inuse;
 
         /* Page is on a free list: ((count_info & PGC_count_mask) == 0). */
         struct {
@@ -42,7 +42,7 @@ struct page_info
             u32 order;
             /* Mask of possibly-tainted TLBs. */
             cpumask_t cpumask;
-        } __attribute__ ((packed)) free;
+        } free;
 
     } u;