kernel-ark/arch
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
..
alpha dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
arm dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
avr32 dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
blackfin dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
cris dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
frv dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
h8300 Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
ia64 dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
m32r Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
m68k dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
m68knommu time: Kill off CONFIG_GENERIC_TIME 2010-07-27 12:40:54 +02:00
microblaze dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
mips dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
mn10300 dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
parisc dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
powerpc dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
s390 Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
score Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
sh dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
sparc dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
tile dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
um Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
x86 dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
xtensa dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
.gitignore
Kconfig Merge branch 'perf/nmi' into perf/core 2010-08-05 08:45:05 +02:00