aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-09-12 06:53:43 -0400
committerKumar Gala <galak@kernel.crashing.org>2008-09-24 17:26:45 -0400
commitb9579689ad3a208c342aed806afc7a9a808c4e1e (patch)
tree16e75a8412a706df93b399d3296bbb2a50c7ecc5 /arch/powerpc/include/asm
parent4fc665b88a79a45bae8bbf3a05563c27c7337c3d (diff)
powerpc: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set
Signed-off-by: Becky Bruce <becky.bruce@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h
index d3374bc865ba..a9a9262e84a3 100644
--- a/arch/powerpc/include/asm/types.h
+++ b/arch/powerpc/include/asm/types.h
@@ -55,7 +55,7 @@ typedef u64 phys_addr_t;
55typedef u32 phys_addr_t; 55typedef u32 phys_addr_t;
56#endif 56#endif
57 57
58#ifdef __powerpc64__ 58#if defined(__powerpc64__) || defined(CONFIG_PHYS_64BIT)
59typedef u64 dma_addr_t; 59typedef u64 dma_addr_t;
60#else 60#else
61typedef u32 dma_addr_t; 61typedef u32 dma_addr_t;