xen/arm: setup: Calculate correctly the size of Xen
authorJulien Grall <julien.grall@arm.com>
Wed, 16 Oct 2019 11:12:51 +0000 (12:12 +0100)
committerJulien Grall <julien.grall@arm.com>
Tue, 22 Oct 2019 16:56:22 +0000 (17:56 +0100)
commit08e2059facd78d5ffaf206ba06ac2017c4adeed4
treeb8db937d72cb50c717059a46be12a215f24bd416
parent8dba9a81e7c62b8a7dbe023fffecd2e16cc20486
xen/arm: setup: Calculate correctly the size of Xen

The current size of Xen is computed using _end - _start + 1. However,
_end is pointing one past the end of Xen, so the size of Xen is
off-by-one.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/setup.c