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>

authored by FUJITA Tomonori and committed by Mike Frysinger 76b99699 eb5400b6

+2
+2
arch/blackfin/include/asm/cache.h
··· 15 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 16 #define SMP_CACHE_BYTES L1_CACHE_BYTES 17 18 #ifdef CONFIG_SMP 19 #define __cacheline_aligned 20 #else
··· 15 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 16 #define SMP_CACHE_BYTES L1_CACHE_BYTES 17 18 + #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES 19 + 20 #ifdef CONFIG_SMP 21 #define __cacheline_aligned 22 #else