diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-10-08 17:06:20 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-10-18 16:49:40 +0200 |
commit | 2775609c5d9a9d40ad5f101e23438ceacee4250b (patch) | |
tree | 1c398365b8eb4dcab7dffa900c7516d90956a6b3 /drivers/xen/Kconfig | |
parent | MAINTAINERS: Add myself for Xen PCI and Xen SWIOTLB maintainer. (diff) | |
download | linux-2775609c5d9a9d40ad5f101e23438ceacee4250b.tar.xz linux-2775609c5d9a9d40ad5f101e23438ceacee4250b.zip |
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 <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/Kconfig')
-rw-r--r-- | drivers/xen/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
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 |