FUJITA Tomonori 4565f0170d dma-mapping: unify dma_get_cache_alignment implementations
dma_get_cache_alignment returns the minimum DMA alignment.  Architectures
defines it as ARCH_DMA_MINALIGN (formally ARCH_KMALLOC_MINALIGN).  So we
can unify dma_get_cache_alignment implementations.

Note that some architectures implement dma_get_cache_alignment wrongly.
dma_get_cache_alignment() should return the minimum DMA alignment.  So
fully-coherent architectures should return 1.  This patch also fixes this
issue.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-11 08:59:21 -07:00
..
2009-01-01 10:12:16 +10:30
2009-12-16 07:20:12 -08:00
2008-10-08 18:44:57 +02:00
2010-08-10 13:47:39 -07:00
2009-01-07 10:40:30 +01:00
2010-06-09 11:12:36 +02:00
2009-09-22 07:17:42 -07:00
2010-03-12 15:52:38 -08:00
2009-02-01 11:01:23 +05:30
2009-12-11 06:44:29 -05:00