diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index ff949f545a..4cb87ac9a3 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -726,7 +726,7 @@ void __init start_xen(unsigned long boot_phys_offset, /* Register Xen's load address as a boot module. */ xen_bootmodule = add_boot_module(BOOTMOD_XEN, (paddr_t)(uintptr_t)(_start + boot_phys_offset), - (paddr_t)(uintptr_t)(_end - _start + 1), NULL); + (paddr_t)(uintptr_t)(_end - _start), NULL); BUG_ON(!xen_bootmodule); xen_paddr = get_xen_paddr();