Skip to content

Commit

Permalink
arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN
Browse files Browse the repository at this point in the history
See commit a6eb9fe.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
  • Loading branch information
cmetcalf-tilera committed Aug 15, 2010
1 parent 947e7dc commit b3ae98a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/tile/include/asm/cache.h
Expand Up @@ -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 */
Expand Down

0 comments on commit b3ae98a

Please sign in to comment.