commit | f62717551b2b7d72fc2a3975539117d350bad84d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Oct 30 09:41:29 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Nov 02 19:27:22 2018 +0100 |
tree | 4b012c18190e1779af4dce8f89750cdde19a52b9 | |
parent | 8adcc59974b8a65b7eac7d503364837c297139bc [diff] |
arm64: fix warnings without CONFIG_IOMMU_DMA __swiotlb_get_sgtable_page and __swiotlb_mmap_pfn are not only misnamed but also only used if CONFIG_IOMMU_DMA is set. Just add a simple ifdef for now, given that we plan to remove them entirely for the next merge window. Reported-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Will Deacon <will.deacon@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>