From: "Jan Beulich" Subject: [PATCH] linux/i386: dma_addr_t must always be 64 bits wide Date: Wed, 03 Feb 2010 16:30:12 +0000 Message-ID: <4B69B2A4020000780002D806@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part6A404584.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part6A404584.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Irrespective of CONFIG_HIGHMEM settings, DMA addresses must always be 64-bit wide. Signed-off-by: Jan Beulich --- a/include/asm-i386/types.h +++ b/include/asm-i386/types.h @@ -50,7 +50,7 @@ =20 /* DMA addresses come in generic and 64-bit flavours. */ =20 -#ifdef CONFIG_HIGHMEM64G +#if defined(CONFIG_XEN) || defined(CONFIG_HIGHMEM64G) typedef u64 dma_addr_t; #else typedef u32 dma_addr_t; --=__Part6A404584.0__= Content-Type: text/plain; name="xenlinux-i386-dma_addr_t-64bit.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xenlinux-i386-dma_addr_t-64bit.patch" Irrespective of CONFIG_HIGHMEM settings, DMA addresses must always = be=0A64-bit wide.=0A=0ASigned-off-by: Jan Beulich =0A= =0A--- a/include/asm-i386/types.h=0A+++ b/include/asm-i386/types.h=0A@@ = -50,7 +50,7 @@=0A =0A /* DMA addresses come in generic and 64-bit = flavours. */=0A =0A-#ifdef CONFIG_HIGHMEM64G=0A+#if defined(CONFIG_XEN) = || defined(CONFIG_HIGHMEM64G)=0A typedef u64 dma_addr_t;=0A #else=0A = typedef u32 dma_addr_t;=0A --=__Part6A404584.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part6A404584.0__=--