]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm: don't build swiotlb by default
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Apr 2018 14:43:51 +0000 (16:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 04:57:27 +0000 (06:57 +0200)
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>
arch/arm/Kconfig

index 924ccac1836b320238ea7477ffd01919fd4217ad..4a176c369ab71672c74872fb5be6a4626d845f4c 100644 (file)
@@ -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