linux_dsm_epyc7002/arch/cris
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
..
arch-v10 CRIS: Correct address of the romfs in boot image 2010-08-04 12:59:43 +02:00
arch-v32 Merge branch 'for-linus' of git://www.jni.nu/cris 2010-08-08 10:08:26 -07:00
boot CRIS: Discard .note.gnu.build-id section 2010-08-04 13:02:33 +02:00
configs CRIS: proper defconfig setup 2008-10-13 21:34:55 +02:00
include dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
kernel CRIS: Fix alignment problem for older ld 2010-08-04 18:30:01 +02:00
mm CRIS: Always dump registers for segfaulting process. 2010-08-04 18:28:49 +02:00
Kconfig Merge branch 'for-linus' of git://www.jni.nu/cris 2010-08-08 10:08:26 -07:00
Kconfig.debug CRIS: Add config for pausing a seg-faulting process 2010-08-04 18:28:48 +02:00
Makefile arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0 2009-09-20 12:28:22 +02:00