[PATCH] POWERPC: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set
Becky Bruce
becky.bruce at freescale.com
Sat Sep 13 06:53:43 EST 2008
Signed-off-by: Becky Bruce <becky.bruce at freescale.com>
---
arch/powerpc/include/asm/types.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h
index d3374bc..a9a9262 100644
--- a/arch/powerpc/include/asm/types.h
+++ b/arch/powerpc/include/asm/types.h
@@ -55,7 +55,7 @@ typedef u64 phys_addr_t;
typedef u32 phys_addr_t;
#endif
-#ifdef __powerpc64__
+#if defined(__powerpc64__) || defined(CONFIG_PHYS_64BIT)
typedef u64 dma_addr_t;
#else
typedef u32 dma_addr_t;
--
1.5.5.1
More information about the Linuxppc-dev
mailing list