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
..
2012-06-20 14:39:36 -07:00
2012-03-29 18:02:10 -07:00
2012-07-05 13:06:32 +01:00
2012-04-03 10:59:10 -07:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-04-26 12:06:11 +02:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-07-05 09:50:55 +01:00
2012-03-28 18:30:01 +01:00
2009-03-15 21:01:20 -04:00
2009-05-29 08:40:02 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-20 21:48:30 +08:00
2012-05-25 08:39:25 +01:00
2010-10-07 14:08:55 +01:00
2010-10-29 13:14:40 -05:00
2012-02-23 20:19:04 -07:00
2012-03-24 09:38:54 +00:00
2012-04-25 19:49:28 +01:00
2010-10-01 22:32:18 -04:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-01-03 22:55:17 -05:00
2012-03-28 18:30:01 +01:00
2011-03-31 11:26:23 -03:00
2012-01-16 08:56:25 -06:00
2011-07-12 11:19:29 -05:00