arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN
PATCH 1/1 arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN
See commit a6eb9fe105d5de0053b261148cee56c94b4720ca.
Signed-off-by Chris Metcalf <[email protected]>
--- arch/tile/include/asm/cache.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
arch/tile/include/asm/cache.h +2 -3
@@ -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
Quoted 13 lines · On Fri, 13 Aug 2010 20:43:39 -0400 Chris Metcalf <[email protected]> wrote:
See commit
a6eb9fe105d5de0053b261148cee56c94b4720ca.Signed-off-by Chris Metcalf <[email protected]>--- arch/tile/include/asm/cache.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)arch/tile/include/asm/cache.h +0
-0@@ -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
Acked-by FUJITA Tomonori <[email protected]>