From: Jeremy Fitzhardinge Date: Mon, 17 Mar 2008 23:37:10 +0000 (-0700) Subject: xen: use phys_addr_t when referring to physical addresses X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b4724b0e60cdfdc2679ee7135f3a234c74c2b83;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xen: use phys_addr_t when referring to physical addresses Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/xen/page.h b/include/xen/page.h index 031ef22a971e..1742f60828f3 100644 --- a/include/xen/page.h +++ b/include/xen/page.h @@ -8,27 +8,15 @@ #include -#ifdef CONFIG_X86_PAE /* Xen machine address */ typedef struct xmaddr { - unsigned long long maddr; + phys_addr_t maddr; } xmaddr_t; /* Xen pseudo-physical address */ typedef struct xpaddr { - unsigned long long paddr; + phys_addr_t paddr; } xpaddr_t; -#else -/* Xen machine address */ -typedef struct xmaddr { - unsigned long maddr; -} xmaddr_t; - -/* Xen pseudo-physical address */ -typedef struct xpaddr { - unsigned long paddr; -} xpaddr_t; -#endif #define XMADDR(x) ((xmaddr_t) { .maddr = (x) }) #define XPADDR(x) ((xpaddr_t) { .paddr = (x) })