From: "Jan Beulich" Subject: Re: [PATCH 2 of 6] [XEN][LINUX] Create Xen-specificinterface for xlate_dev_mem_* Date: Fri, 06 Jul 2007 09:01:24 +0100 Message-ID: <468E12F4.76E4.0078.0@novell.com> References: <848958bf6c7a2d3be6d7.1183674471@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <848958bf6c7a2d3be6d7.1183674471@localhost> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard , Keir Fraser Cc: xen-devel@lists.xensource.com, xen-ppc-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >--- a/include/asm-i386/mach-xen/asm/io.h Thu Jul 05 16:58:26 2007 = -0500 >+++ b/include/asm-i386/mach-xen/asm/io.h Thu Jul 05 16:58:26 2007 = -0500 >@@ -53,8 +53,8 @@ > * Convert a physical pointer to a virtual kernel pointer for /dev/mem > * access > */ >-#define xlate_dev_mem_ptr(p, sz) ioremap(p, sz) >-#define xlate_dev_mem_ptr_unmap(p) iounmap(p) >+#define xen_xlate_dev_mem_ptr(p, sz) ioremap(p, sz) >+#define xen_xlate_dev_mem_ptr_unmap(p) iounmap(p) >=20 > /* > * Convert a virtual cached pointer to an uncached pointer Isn't the same adjustment needed to include/asm-x86_64/mach-xen/asm/io.h? Jan