Blackfin: set ARCH_KMALLOC_MINALIGN
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 20 May 2010 03:21:38 +0000 (23:21 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 May 2010 18:19:13 +0000 (14:19 -0400)
commit76b99699a2bbf9efdb578f9a38a202af2ecb354b
treeef7eba05b7b611009d2fb108e58b655550387416
parenteb5400b6131e6ebaacf809357643a22a72d5cc4c
Blackfin: set ARCH_KMALLOC_MINALIGN

Architectures that handle DMA-non-coherent memory need to set
ARCH_KMALLOC_MINALIGN to make sure that kmalloc'ed buffer is DMA-safe:
the buffer doesn't share a cache with the others.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/cache.h