From: "Jan Beulich" Subject: Re: [PATCH 5 of 6] [XEN][LINUX] Refactor grant tableallocation into arch-specific code Date: Fri, 06 Jul 2007 09:04:59 +0100 Message-ID: <468E13CB.76E4.0078.0@novell.com> References: <9def23611685442dc968.1183674474@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <9def23611685442dc968.1183674474@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/drivers/xen/core/gnttab.c Thu Jul 05 16:58:26 2007 -0500 >+++ b/drivers/xen/core/gnttab.c Thu Jul 05 17:25:47 2007 -0500 >@@ -430,7 +430,7 @@ static inline unsigned int max_nr_grant_ >=20 > #ifdef CONFIG_XEN >=20 >-#ifndef __ia64__ >+#ifdef __x86__ > static int map_pte_fn(pte_t *pte, struct page *pmd_page, > unsigned long addr, void *data) > { #ifdef CONFIG_X86, just like you did one or two hunks later? Jan