]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
xen/public: arch-arm: Use xen_mk_ullong instead of suffixing value with ULL
authorJulien Grall <julien.grall@arm.com>
Mon, 3 Jun 2019 16:08:29 +0000 (17:08 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 29 Jul 2019 20:40:38 +0000 (13:40 -0700)
There are a few places in include/public/arch-arm.h that are still
suffixing immediate with ULL instead of using xen_mk_ullong.

The latter allows a consumer to easily tweak the header if ULL is not
supported.

So switch the remaining users of ULL to xen_mk_ullong.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Alexandru Isaila <aisaila@bitdefender.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/public/arch-arm.h

index 3e8cdc151dd0a90187f33e561e9b8ef999fc794b..d9d7731868fadd546b3605bd1117dc16e87a87db 100644 (file)
@@ -413,12 +413,12 @@ typedef uint64_t xen_callback_t;
 #define GUEST_GICV3_GICR0_SIZE     xen_mk_ullong(0x01000000)
 
 /* ACPI tables physical address */
-#define GUEST_ACPI_BASE 0x20000000ULL
-#define GUEST_ACPI_SIZE 0x02000000ULL
+#define GUEST_ACPI_BASE xen_mk_ullong(0x20000000)
+#define GUEST_ACPI_SIZE xen_mk_ullong(0x02000000)
 
 /* PL011 mappings */
-#define GUEST_PL011_BASE    0x22000000ULL
-#define GUEST_PL011_SIZE    0x00001000ULL
+#define GUEST_PL011_BASE    xen_mk_ullong(0x22000000)
+#define GUEST_PL011_SIZE    xen_mk_ullong(0x00001000)
 
 /*
  * 16MB == 4096 pages reserved for guest to use as a region to map its