diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-09-12 10:53:43 +0000 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-09-24 16:26:45 -0500 |
commit | b9579689ad3a208c342aed806afc7a9a808c4e1e (patch) | |
tree | 16e75a8412a706df93b399d3296bbb2a50c7ecc5 | |
parent | 4fc665b88a79a45bae8bbf3a05563c27c7337c3d (diff) | |
download | blackbird-op-linux-b9579689ad3a208c342aed806afc7a9a808c4e1e.tar.gz blackbird-op-linux-b9579689ad3a208c342aed806afc7a9a808c4e1e.zip |
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>
-rw-r--r-- | 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 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; 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; |