瀏覽代碼

arm: don't build swiotlb by default

swiotlb is only used as a library of helper for xen-swiotlb if Xen support
is enabled on arm, so don't build it by default.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig 7 年之前
父節點
當前提交
f21254cdd1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      arch/arm/Kconfig

+ 2 - 1
arch/arm/Kconfig

@@ -1773,7 +1773,7 @@ config SECCOMP
 	  defined by each seccomp mode.
 
 config SWIOTLB
-	def_bool y
+	bool
 
 config PARAVIRT
 	bool "Enable paravirtualization code"
@@ -1806,6 +1806,7 @@ config XEN
 	depends on MMU
 	select ARCH_DMA_ADDR_T_64BIT
 	select ARM_PSCI
+	select SWIOTLB
 	select SWIOTLB_XEN
 	select PARAVIRT
 	help