Skip to content

Commit

Permalink
powerpc: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set
Browse files Browse the repository at this point in the history
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Becky Bruce authored and Kumar Gala committed Sep 24, 2008
1 parent 4fc665b commit b957968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b957968

Please sign in to comment.