diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-03-17 23:37:10 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-24 21:57:31 (GMT) |
commit | 3b4724b0e60cdfdc2679ee7135f3a234c74c2b83 (patch) | |
tree | 34fccfac439d63c9a75010733028b1c98a69df70 /include/xen | |
parent | 947a69c90c0d07ac7f214e46dabbe49f2a230e00 (diff) | |
download | linux-fsl-qoriq-3b4724b0e60cdfdc2679ee7135f3a234c74c2b83.tar.xz |
xen: use phys_addr_t when referring to physical addresses
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/page.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/xen/page.h b/include/xen/page.h index 031ef22..1742f60 100644 --- a/include/xen/page.h +++ b/include/xen/page.h @@ -8,27 +8,15 @@ #include <xen/features.h> -#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) }) |