lkml.org 
[lkml]   [2018]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/22] dma-mapping: simplify Kconfig dependencies
    Date
    ARCH_DMA_ADDR_T_64BIT is always true for 64-bit architectures now, so we
    can skip the clause requiring it. 'n' is the default default, so no need
    to explicitly state it.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    ---
    lib/Kconfig | 6 ++----
    1 file changed, 2 insertions(+), 4 deletions(-)

    diff --git a/lib/Kconfig b/lib/Kconfig
    index 01a37920949c..726b0562caa7 100644
    --- a/lib/Kconfig
    +++ b/lib/Kconfig
    @@ -443,13 +443,11 @@ config IOMMU_HELPER

    config DMA_DIRECT_OPS
    bool
    - depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
    - default n
    + depends on HAS_DMA

    config DMA_VIRT_OPS
    bool
    - depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
    - default n
    + depends on HAS_DMA

    config ARCH_HAS_SWIOTLB
    bool
    --
    2.17.0
    \
     
     \ /
      Last update: 2018-04-20 10:17    [W:4.124 / U:0.452 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site