mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 11:43:54 +08:00
powerpc/pseries: unwind dma_get_required_mask_pSeriesLP a bit
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>
This commit is contained in:
parent
8617a5c5bc
commit
cd7c11ed3a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user