Skip to contentSkip to conversation

arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN

PATCH In review Chris Metcalf 2 participants 2 messages Aug 14, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN

See commit a6eb9fe105d5de0053b261148cee56c94b4720ca.

---
 arch/tile/include/asm/cache.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
arch/tile/include/asm/cache.h +2 -3
index f610184..08a2815 100644
@@ -27,11 +27,10 @@
 #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
- * ARCH_KMALLOC_MINALIGN.
+ * TILE-Gx is fully coherent so we don't need to define ARCH_DMA_MINALIGN.
  */
 #ifndef __tilegx__
-#define ARCH_KMALLOC_MINALIGN	L2_CACHE_BYTES
+#define ARCH_DMA_MINALIGN	L2_CACHE_BYTES
 #endif
 
 /* use the cache line size for the L2, which is where it counts */
Signature · 1 line
1.6.5.2
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · On Fri, 13 Aug 2010 20:43:39 -0400 Chris Metcalf <[email protected]> wrote:

See commit a6eb9fe105d5de0053b261148cee56c94b4720ca.

---
 arch/tile/include/asm/cache.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
arch/tile/include/asm/cache.h +0 -0
index f610184..08a2815 100644
@@ -27,11 +27,10 @@
 #define L2_CACHE_ALIGN(x)	(((x)+(L2_CACHE_BYTES-1)) & -L2_CACHE_BYTES)

arch/tile/include/asm/cache.h line 34

Quoted 10 lines
arch/tile/include/asm/cache.h +2 -3
 
 /*
- * TILE-Gx is fully coherents so we don't need to define
- * ARCH_KMALLOC_MINALIGN.
+ * TILE-Gx is fully coherent so we don't need to define ARCH_DMA_MINALIGN.
  */
 #ifndef __tilegx__
-#define ARCH_KMALLOC_MINALIGN	L2_CACHE_BYTES
+#define ARCH_DMA_MINALIGN	L2_CACHE_BYTES
 #endif