[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen/i386: dma_addr_t must always be 64 bits wide



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1265273667 0
# Node ID 26a5e91e827c364950156ac13ad0f4fa859c8584
# Parent  9ba6d9f3fbc0c2d80f0408cdf3e0185b32b97150
xen/i386: dma_addr_t must always be 64 bits wide

Irrespective of CONFIG_HIGHMEM settings, DMA addresses must always be
64-bit wide.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 include/asm-i386/types.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 9ba6d9f3fbc0 -r 26a5e91e827c include/asm-i386/types.h
--- a/include/asm-i386/types.h  Wed Feb 03 11:20:36 2010 +0000
+++ b/include/asm-i386/types.h  Thu Feb 04 08:54:27 2010 +0000
@@ -50,7 +50,7 @@ typedef unsigned long long u64;
 
 /* DMA addresses come in generic and 64-bit flavours.  */
 
-#ifdef CONFIG_HIGHMEM64G
+#if defined(CONFIG_XEN) || defined(CONFIG_HIGHMEM64G)
 typedef u64 dma_addr_t;
 #else
 typedef u32 dma_addr_t;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.