From: Becky Bruce Date: Fri, 12 Sep 2008 10:53:43 +0000 (+0000) Subject: powerpc: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set X-Git-Tag: v2.6.28-rc1~569^2~48^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b9579689ad3a208c342aed806afc7a9a808c4e1e;p=linux-2.6-omap-h63xx.git powerpc: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h index d3374bc865b..a9a9262e84a 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;