diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-13 08:01:25 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-18 22:41:04 +1100 |
commit | 5a47910d76f26e5fe6e9837872efdf8282ea76fb (patch) | |
tree | e5c3df8b670c3be8554fb68f63117eff336f3a14 /arch/powerpc/include | |
parent | 6666cc17d7802b7dcbb073e7be1eee2cf6fa64d9 (diff) | |
download | linux-5a47910d76f26e5fe6e9837872efdf8282ea76fb.tar.gz linux-5a47910d76f26e5fe6e9837872efdf8282ea76fb.tar.bz2 linux-5a47910d76f26e5fe6e9837872efdf8282ea76fb.zip |
powerpc/dma: remove dma_nommu_get_required_mask
This function is identical to the generic dma_direct_get_required_mask,
except that the generic version also takes the bus_dma_mask account,
which could lead to incorrect results in the powerpc version.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/dma-mapping.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/dma-mapping.h b/arch/powerpc/include/asm/dma-mapping.h index f19c486e7b3f..af9a32d4fcf8 100644 --- a/arch/powerpc/include/asm/dma-mapping.h +++ b/arch/powerpc/include/asm/dma-mapping.h @@ -32,7 +32,6 @@ dma_addr_t dma_nommu_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, unsigned long attrs); int dma_nommu_dma_supported(struct device *dev, u64 mask); -u64 dma_nommu_get_required_mask(struct device *dev); #ifdef CONFIG_NOT_COHERENT_CACHE /* |