From: Arnd Bergmann Date: Thu, 2 May 2013 15:16:22 +0000 (+0200) Subject: xen: SWIOTLB is only used on x86 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8b404d99369ba3e6ec3259a4ea14bf1c18283f3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xen: SWIOTLB is only used on x86 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 Acked-by: Stefano Stabellini Signed-off-by: Arnd Bergmann Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 67af155cf602..ed6a8099666d 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