xen: page_alloc: Don't open-code IS_ALIGNED()
authorJulien Grall <jgrall@amazon.com>
Wed, 20 Jul 2022 18:22:34 +0000 (19:22 +0100)
committerJulien Grall <jgrall@amazon.com>
Wed, 20 Jul 2022 18:26:19 +0000 (19:26 +0100)
commit7a2b7edad5d5508e2d6a2e5d0ad0399ae16e9c8e
tree1209d2d087a7f57d5011585ba95719ecfb9b712d
parent71320946d5edf158b79eb91a5be261adc20f3aa1
xen: page_alloc: Don't open-code IS_ALIGNED()

init_heap_pages() is using an open-code version of IS_ALIGNED(). Replace
it to improve the readability of the code.

No functional change intended.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Wei Chen <Wei.Chen@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/page_alloc.c