diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-09-12 10:53:43 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-09-24 21:26:45 (GMT) |
commit | b9579689ad3a208c342aed806afc7a9a808c4e1e (patch) | |
tree | 16e75a8412a706df93b399d3296bbb2a50c7ecc5 /arch | |
parent | 4fc665b88a79a45bae8bbf3a05563c27c7337c3d (diff) | |
download | linux-fsl-qoriq-b9579689ad3a208c342aed806afc7a9a808c4e1e.tar.xz |
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')
-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 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; |