2010-08-14 07:02:45

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH] MIPS: TX49xx: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN

Architectures need to set ARCH_DMA_MINALIGN to the minimum DMA
alignment (the commit
a6eb9fe105d5de0053b261148cee56c94b4720ca). Defining
ARCH_KMALLOC_MINALIGN doesn't work anymore.

Signed-off-by: FUJITA Tomonori <[email protected]>
---
arch/mips/include/asm/mach-tx49xx/kmalloc.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/include/asm/mach-tx49xx/kmalloc.h b/arch/mips/include/asm/mach-tx49xx/kmalloc.h
index b74caf6..ff9a8b8 100644
--- a/arch/mips/include/asm/mach-tx49xx/kmalloc.h
+++ b/arch/mips/include/asm/mach-tx49xx/kmalloc.h
@@ -1,6 +1,6 @@
#ifndef __ASM_MACH_TX49XX_KMALLOC_H
#define __ASM_MACH_TX49XX_KMALLOC_H

-#define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES
+#define ARCH_DMA_MINALIGN L1_CACHE_BYTES

#endif /* __ASM_MACH_TX49XX_KMALLOC_H */
--
1.6.5


2010-08-19 13:29:39

by Atsushi Nemoto

[permalink] [raw]
Subject: Re: [PATCH] MIPS: TX49xx: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN

On Sat, 14 Aug 2010 16:02:37 +0900, FUJITA Tomonori <[email protected]> wrote:
> Architectures need to set ARCH_DMA_MINALIGN to the minimum DMA
> alignment (the commit
> a6eb9fe105d5de0053b261148cee56c94b4720ca). Defining
> ARCH_KMALLOC_MINALIGN doesn't work anymore.

Thank you for picking this up.

Acked-by: Atsushi Nemoto <[email protected]>