From: Julien Grall Date: Fri, 30 Jun 2017 15:54:16 +0000 (+0100) Subject: xen/arm: setup: Remove bogus xenheap_mfn_end in setup_mm for arm64 X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~1863 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5e2af95aeb168d90c5900d35d663691f595fb012;p=xen.git xen/arm: setup: Remove bogus xenheap_mfn_end in setup_mm for arm64 xenheap_mfn_end is storing an MFN and not a physical address. The value will be reset after the loop. So drop this bogus xenheap_mfn_end. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index f00f29a45b..ab4d8e4218 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -654,8 +654,6 @@ static void __init setup_mm(unsigned long dtb_paddr, size_t dtb_size) if ( e > bank_end ) e = bank_end; - xenheap_mfn_end = e; - dt_unreserved_regions(s, e, init_boot_pages, 0); s = n; }