]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
frv: set ARCH_KMALLOC_MINALIGN
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 24 May 2010 21:32:54 +0000 (14:32 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:15:52 +0000 (11:15 -0700)
commitd5e221616c013c7d2b2205c5febcf17b149fba8b
tree572d87d2ac2f1e76f87a509001a74ea46ca97e3a
parentc6ce79a12ca1f207fa485f0ad535e21338dc9c6d
frv: set ARCH_KMALLOC_MINALIGN

commit 69dcf3db03626c4f18de624e8632454ea12ff260 upstream.

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: David Howells <dhowells@redhat.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/frv/include/asm/cache.h