linux/arch/mips/include/asm/mach-ip27
FUJITA Tomonori a6eb9fe105 dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN
Now each architecture has the own dma_get_cache_alignment implementation.

dma_get_cache_alignment returns the minimum DMA alignment.  Architectures
define it as ARCH_KMALLOC_MINALIGN (it's used to make sure that malloc'ed
buffer is DMA-safe; the buffer doesn't share a cache with the others).  So
we can unify dma_get_cache_alignment implementations.

This patch:

dma_get_cache_alignment() needs to know if an architecture defines
ARCH_KMALLOC_MINALIGN or not (needs to know if architecture has DMA
alignment restriction).  However, slab.h define ARCH_KMALLOC_MINALIGN if
architectures doesn't define it.

Let's rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN.
ARCH_KMALLOC_MINALIGN is used only in the internals of slab/slob/slub
(except for crypto).

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
..
cpu-feature-overrides.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
dma-coherence.h MIPS: Pass struct device to plat_dma_addr_to_phys() 2009-06-17 11:06:24 +01:00
irq.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
kernel-entry-init.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
kmalloc.h dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-11 08:59:21 -07:00
mangle-port.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
mmzone.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
spaces.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
topology.h MIPS: cpumask_of_node() should handle -1 as a node 2010-01-12 18:19:37 +01:00
war.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00