x86: clean up struct page_info
PATCH 1/1 x86: clean up struct page_info
Remove the now unnecessary (and leading to misalignment of cpumask on x86-64) 'packed' attributes.
Signed-off-by Jan Beulich <[email protected]>
xen/include/asm-x86/mm.h +2 -2
@@ -34,7 +34,7 @@ struct page_infounsigned 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_infou32 order;/* Mask of possibly-tainted TLBs. */ cpumask_t cpumask; - } __attribute__ ((packed)) free; + } free; } u;