powerpc/pseries: unwind dma_get_required_mask_pSeriesLP a bit
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:06 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:02 +0000 (22:41 +1100)
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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/iommu.c

index 8fc8fe0b9848536e0ee3334bc9f81efa27848695..9f7ac75c5687a69fca5cb1f1afc1319ccab58d66 100644 (file)
@@ -1278,7 +1278,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,