Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932264Ab3EBPi6 (ORCPT ); Thu, 2 May 2013 11:38:58 -0400 Received: from smtp.citrix.com ([66.165.176.89]:10881 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756652Ab3EBPi5 (ORCPT ); Thu, 2 May 2013 11:38:57 -0400 X-IronPort-AV: E=Sophos;i="4.87,597,1363132800"; d="scan'208";a="22934559" Date: Thu, 2 May 2013 16:38:50 +0100 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: Arnd Bergmann CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Konrad Rzeszutek Wilk , Stefano Stabellini Subject: Re: [PATCH, RFC 18/22] Xen: SWIOTLB is only used on x86 In-Reply-To: <1367507786-505303-19-git-send-email-arnd@arndb.de> Message-ID: References: <1367507786-505303-1-git-send-email-arnd@arndb.de> <1367507786-505303-19-git-send-email-arnd@arndb.de> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 38 On Thu, 2 May 2013, Arnd Bergmann wrote: > Enabling SWIOTLB_XEN on ARM results in build errors because the > underlying SWIOTLB is only available on X86: > > drivers/xen/swiotlb-xen.c: In function 'is_xen_swiotlb_buffer': > drivers/xen/swiotlb-xen.c:105:2: error: implicit declaration of function 'mfn_to_local_pfn > > Cc: Konrad Rzeszutek Wilk > Cc: Stefano Stabellini > Signed-off-by: Arnd Bergmann Acked-by: Stefano Stabellini > drivers/xen/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig > index dd4d9cb..f03bf50 100644 > --- a/drivers/xen/Kconfig > +++ b/drivers/xen/Kconfig > @@ -141,7 +141,7 @@ config XEN_GRANT_DEV_ALLOC > > config SWIOTLB_XEN > def_bool y > - depends on PCI > + depends on PCI && X86 > select SWIOTLB > > config XEN_TMEM > -- > 1.8.1.2 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/