From: Konrad Rzeszutek Wilk Date: Fri, 8 Oct 2010 15:06:20 +0000 (-0400) Subject: swiotlb-xen: On x86-32 builts, select SWIOTLB instead of depending on it. X-Git-Tag: firefly_0821_release~7613^2~3571^2~19^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2775609c5d9a9d40ad5f101e23438ceacee4250b;p=firefly-linux-kernel-4.4.55.git swiotlb-xen: On x86-32 builts, select SWIOTLB instead of depending on it. We used to depend on CONFIG_SWIOTLB, but that is disabled by default. So when compiling we get this compile error: arch/x86/xen/pci-swiotlb-xen.c: In function 'pci_xen_swiotlb_detect': arch/x86/xen/pci-swiotlb-xen.c:48: error: lvalue required as left operand of assignment Fix it by actually activating the SWIOTLB library. Reported-by: Stefano Stabellini Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index f70a627080e7..6e6180ccd726 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -74,6 +74,7 @@ config XEN_PLATFORM_PCI config SWIOTLB_XEN def_bool y - depends on PCI && SWIOTLB + depends on PCI + select SWIOTLB endmenu