]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
arm: xen_size should be paddr_t for consistency
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 29 Mar 2017 18:32:34 +0000 (11:32 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 29 Mar 2017 18:32:34 +0000 (11:32 -0700)
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/alternative.c

index 96859fcae46909935228bc63ee6485e1820fb239..4d7e5b6155b5232ee996955af97768a2169bfe4d 100644 (file)
@@ -155,7 +155,7 @@ static int __apply_alternatives_multi_stop(void *unused)
         int ret;
         struct alt_region region;
         mfn_t xen_mfn = _mfn(virt_to_mfn(_start));
-        unsigned int xen_size = _end - _start;
+        paddr_t xen_size = _end - _start;
         unsigned int xen_order = get_order_from_bytes(xen_size);
         void *xenmap;
         struct virtual_region patch_region = {