Messages in this thread |  | | Date | Thu, 08 Jul 2010 23:14:30 -0700 (PDT) | Subject | Re: [PATCH -mm 2/3] unify dma_get_cache_alignment implementations | From | David Miller <> |
| |
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Date: Thu, 8 Jul 2010 15:57:47 +0900
> 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>
Acked-by: David S. Miller <davem@davemloft.net>
|  |