mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/domain: Annotate struct domain as page aligned
struct domain is always a page aligned allocation. Update it's type to reflect this, so we can safely reuse the lower bits in the pointer for auxiliary information. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
5b7ac8d863
commit
8c12e47a5d
1 file changed
+1
-1
@@ -651,7 +651,7 @@ struct domain
|
||||
unsigned int num_llc_colors;
|
||||
const unsigned int *llc_colors;
|
||||
#endif
|
||||
};
|
||||
} __aligned(PAGE_SIZE);
|
||||
|
||||
static inline struct page_list_head *page_to_list(
|
||||
struct domain *d, const struct page_info *pg)
|
||||
|
||||