Marek Szyprowski 64ccc9c033 common: dma-mapping: add support for generic dma_mmap_* calls
Commit 9adc5374 ('common: dma-mapping: introduce mmap method') added a
generic method for implementing mmap user call to dma_map_ops structure.

This patch converts ARM and PowerPC architectures (the only providers of
dma_mmap_coherent/dma_mmap_writecombine calls) to use this generic
dma_map_ops based call and adds a generic cross architecture
definition for dma_mmap_attrs, dma_mmap_coherent, dma_mmap_writecombine
functions.

The generic mmap virt_to_page-based fallback implementation is provided for
architectures which don't provide their own implementation for mmap method.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
2012-07-30 12:25:46 +02:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-04-08 12:54:33 +03:00
2012-03-28 18:30:02 +01:00
2012-05-08 12:35:07 +02:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2012-05-05 13:00:25 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-03-28 15:58:21 -07:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:51 -04:00
2011-07-26 16:49:47 -07:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2010-03-12 15:52:32 -08:00
2012-03-28 18:30:02 +01:00
2012-03-28 15:58:21 -07:00