projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e499f
)
frv: make dma_cache_sync a no-op
author
Christoph Hellwig
<
[email protected]
>
Sun, 27 Aug 2017 07:59:32 +0000
(09:59 +0200)
committer
Christoph Hellwig
<
[email protected]
>
Thu, 19 Oct 2017 14:37:18 +0000
(16:37 +0200)
frv 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 <
[email protected]
>
Reviewed-by: Robin Murphy <
[email protected]
>
arch/frv/include/asm/dma-mapping.h
patch
|
blob
|
history
diff --git
a/arch/frv/include/asm/dma-mapping.h
b/arch/frv/include/asm/dma-mapping.h
index 354900917585a220fe840aecb4b2a081616f6d42..da0e5c9744c4cd88c27b144a88d8d7e3c9d614cc 100644
(file)
--- a/
arch/frv/include/asm/dma-mapping.h
+++ b/
arch/frv/include/asm/dma-mapping.h
@@
-18,7
+18,6
@@
static inline
void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction)
{
- flush_write_buffers();
}
#endif /* _ASM_DMA_MAPPING_H */