projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc665b
)
powerpc: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set
author
Becky Bruce
<becky.bruce@freescale.com>
Fri, 12 Sep 2008 10:53:43 +0000
(10:53 +0000)
committer
Kumar Gala
<galak@kernel.crashing.org>
Wed, 24 Sep 2008 21:26:45 +0000
(16:26 -0500)
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/types.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/types.h
b/arch/powerpc/include/asm/types.h
index
d3374bc
..
a9a9262
100644
(file)
--- 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
-#if
def __powerpc64__
+#if
defined(__powerpc64__) || defined(CONFIG_PHYS_64BIT)
typedef u64 dma_addr_t;
#else
typedef u32 dma_addr_t;