xen/arm: ensure the xenheap is 32MB aligned
authorIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 11:35:34 +0000 (12:35 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 15:21:20 +0000 (16:21 +0100)
commit4cfdb1210ca4028303dd75b6d141685990096adc
tree065c183666cfaf28136ffde8b4c806cba7c71193
parentf042e3280babbe66884371eee18bd0f38b016a8e
xen/arm: ensure the xenheap is 32MB aligned

My patch 08693f5948d8 "xen: arm: reduce the size of the xen heap to max 1/8
RAM size" unintentionally violated the constraint that the xenheap must be
32MB aligned, since we only explicitly align the end of the heap and
xenheap_pages was not a multiple of 32 pages.

Round xenheap pages up to a 32MB boundary.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/arm/setup.c