From: Stephen Rothwell There has been a need expressed for dma_addr_t to be 64 bits on PPC64. This patch does that. I have built it for pSeries and iSeries and booted a virtual only iSeries partition. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton --- include/asm-ppc64/scatterlist.h | 2 +- include/asm-ppc64/types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN include/asm-ppc64/scatterlist.h~ppc64-make-dma_addr_t-64-bits include/asm-ppc64/scatterlist.h --- devel/include/asm-ppc64/scatterlist.h~ppc64-make-dma_addr_t-64-bits 2005-10-14 19:28:05.000000000 -0700 +++ devel-akpm/include/asm-ppc64/scatterlist.h 2005-10-14 19:28:05.000000000 -0700 @@ -19,7 +19,7 @@ struct scatterlist { unsigned int length; /* For TCE support */ - u32 dma_address; + dma_addr_t dma_address; u32 dma_length; }; diff -puN include/asm-ppc64/types.h~ppc64-make-dma_addr_t-64-bits include/asm-ppc64/types.h --- devel/include/asm-ppc64/types.h~ppc64-make-dma_addr_t-64-bits 2005-10-14 19:28:05.000000000 -0700 +++ devel-akpm/include/asm-ppc64/types.h 2005-10-14 19:28:05.000000000 -0700 @@ -63,7 +63,7 @@ typedef unsigned long u64; typedef __vector128 vector128; -typedef u32 dma_addr_t; +typedef u64 dma_addr_t; typedef u64 dma64_addr_t; typedef struct { _