projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8617a5c
)
powerpc/pseries: unwind dma_get_required_mask_pSeriesLP a bit
author
Christoph Hellwig
<hch@lst.de>
Wed, 13 Feb 2019 07:01:06 +0000
(08:01 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pseries/iommu.c
b/arch/powerpc/platforms/pseries/iommu.c
index
8fc8fe0
..
9f7ac75
100644
(file)
--- a/
arch/powerpc/platforms/pseries/iommu.c
+++ b/
arch/powerpc/platforms/pseries/iommu.c
@@
-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,