unicore32: make dma_cache_sync a no-op
authorChristoph Hellwig <hch@lst.de>
Sun, 27 Aug 2017 08:22:48 +0000 (10:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:37:36 +0000 (16:37 +0200)
commita535bb801036268c3d057d7584e9c8f35f69aad4
tree1144504d22c937ce155a26a4a95bc4747c69665d
parent87f626348a7a4f9d21c321b6326492de9aef245f
unicore32: make dma_cache_sync a no-op

unicore32 does not implement DMA_ATTR_NON_CONSISTENT allocations, so it
doesn't make any sense to do any work in dma_cache_sync given that it
must be a no-op when dma_alloc_attrs returns coherent memory.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/unicore32/include/asm/cacheflush.h
arch/unicore32/include/asm/dma-mapping.h
arch/unicore32/mm/proc-syms.c