linux-kernel-test/arch/blackfin
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
..
boot Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00
configs Blackfin: update defconfigs 2010-08-06 12:55:58 -04:00
include/asm dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-11 08:59:21 -07:00
kernel Blackfin: add support for dynamic ftrace 2010-08-06 12:55:54 -04:00
lib Blackfin: optimize strncpy a bit 2010-05-22 14:19:11 -04:00
mach-bf518 Blackfin: unify rotary encoder bitmasks 2010-08-06 12:55:56 -04:00
mach-bf527 Blackfin: unify rotary encoder bitmasks 2010-08-06 12:55:56 -04:00
mach-bf533 Blackfin: gpio/portmux: clean up whitespace corruption 2010-08-06 12:55:51 -04:00
mach-bf537 Blackfin: TWI: clean up the MMR names 2010-08-06 12:55:55 -04:00
mach-bf538 Blackfin: TWI: clean up the MMR names 2010-08-06 12:55:55 -04:00
mach-bf548 Blackfin: unify rotary encoder bitmasks 2010-08-06 12:55:56 -04:00
mach-bf561 Blackfin: gpio/portmux: clean up whitespace corruption 2010-08-06 12:55:51 -04:00
mach-common Blackfin: dpmc: punt unnecessary RTC_ISTAT clearing 2010-08-06 12:55:57 -04:00
mm Blackfin: use atomic kmalloc in L1 alloc so it too can be atomic 2010-05-22 14:19:12 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2010-08-09 21:01:11 -07:00
Kconfig.debug Blackfin: allow NMI watchdog to be used w/RETN as a scratch reg 2010-05-22 14:19:04 -04:00
Makefile Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00