arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN
See commit a6eb9fe105
.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
@@ -27,11 +27,10 @@
|
|||||||
#define L2_CACHE_ALIGN(x) (((x)+(L2_CACHE_BYTES-1)) & -L2_CACHE_BYTES)
|
#define L2_CACHE_ALIGN(x) (((x)+(L2_CACHE_BYTES-1)) & -L2_CACHE_BYTES)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TILE-Gx is fully coherents so we don't need to define
|
* TILE-Gx is fully coherent so we don't need to define ARCH_DMA_MINALIGN.
|
||||||
* ARCH_KMALLOC_MINALIGN.
|
|
||||||
*/
|
*/
|
||||||
#ifndef __tilegx__
|
#ifndef __tilegx__
|
||||||
#define ARCH_KMALLOC_MINALIGN L2_CACHE_BYTES
|
#define ARCH_DMA_MINALIGN L2_CACHE_BYTES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* use the cache line size for the L2, which is where it counts */
|
/* use the cache line size for the L2, which is where it counts */
|
||||||
|
Reference in New Issue
Block a user