]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59ff66728b0d27d262d6e2a6d3ca66795ab80e0c
treeef7eba05b7b611009d2fb108e58b655550387416
parenta5edb43605997675b0c24598088faab8fc44b636
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