lkml.org 
[lkml]   [2018]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/33] powerpc/pseries: unwind dma_get_required_mask_pSeriesLP a bit
    Date
    Call dma_get_required_mask_pSeriesLP directly instead of dma_iommu_ops
    to simply the code a bit.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    ---
    arch/powerpc/platforms/pseries/iommu.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c
    index 06f02960b439..da5716de7f4c 100644
    --- a/arch/powerpc/platforms/pseries/iommu.c
    +++ b/arch/powerpc/platforms/pseries/iommu.c
    @@ -1273,7 +1273,7 @@ static u64 dma_get_required_mask_pSeriesLP(struct device *dev)
    return DMA_BIT_MASK(64);
    }

    - return dma_iommu_ops.get_required_mask(dev);
    + return dma_iommu_get_required_mask(dev);
    }

    static int iommu_mem_notifier(struct notifier_block *nb, unsigned long action,
    --
    2.19.0
    \
     
     \ /
      Last update: 2018-10-09 15:30    [W:4.631 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site