]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xtensa: set ARCH_KMALLOC_MINALIGN
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 24 May 2010 21:31:45 +0000 (14:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:06:56 +0000 (08:06 -0700)
commit498900fc9cd1adbad1ba6b55ed9d8f2f5d655ca3
treef99c1a1917f7d5f51977af9459bcc63d637ee209
parent7e125f7b9cbfce4101191b8076d606c517a73066
xtensa: 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>
Cc: Chris Zankel <chris@zankel.net>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/xtensa/include/asm/cache.h