Christoph Hellwig c9eb6172c3 dma-mapping: turn dma_cache_sync into a dma_map_ops method
After we removed all the dead wood it turns out only two architectures
actually implement dma_cache_sync as a real op: mips and parisc.  Add
a cache_sync method to struct dma_map_ops and implement it for the
mips defualt DMA ops, and the parisc pa11 ops.

Note that arm, arc and openrisc support DMA_ATTR_NON_CONSISTENT, but
never provided a functional dma_cache_sync implementations, which
seems somewhat odd.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
2017-10-19 16:37:49 +02:00
..
2010-11-04 12:32:24 +09:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-12 22:19:10 +01:00
2016-01-12 20:47:01 +02:00
2016-01-12 20:47:01 +02:00
2012-01-13 16:27:38 +09:00
2012-05-19 18:50:09 +09:00
2013-01-11 21:02:57 +09:00
2017-03-28 18:23:59 -04:00
2014-01-23 16:36:54 -08:00
2011-07-26 16:49:47 -07:00
2012-05-18 14:52:31 +09:00
2010-11-01 09:49:04 -04:00
2015-09-08 14:35:59 -07:00
2012-05-21 17:54:01 +09:00
2010-10-07 14:08:55 +01:00
2012-05-24 15:03:46 +09:00
2010-03-10 16:29:48 +09:00
2010-01-20 16:42:52 +09:00
2016-06-04 00:22:46 +02:00
2015-01-13 15:24:08 +02:00
2010-04-26 19:08:55 +09:00
2012-05-14 13:04:08 +09:00
2017-05-15 23:40:22 -04:00
2011-03-31 11:26:23 -03:00