Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3ae98ab authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN

parent 947e7dc1
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -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 */