summaryrefslogtreecommitdiff
path: root/include/asm-mips/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/types.h')
-rw-r--r--include/asm-mips/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-mips/types.h b/include/asm-mips/types.h
index f49a2176a..d4bb85999 100644
--- a/include/asm-mips/types.h
+++ b/include/asm-mips/types.h
@@ -78,8 +78,16 @@ typedef unsigned long long u64;
#if (defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR)) \
|| defined(CONFIG_64BIT)
typedef u64 dma_addr_t;
+
+typedef u64 phys_addr_t;
+typedef u64 phys_size_t;
+
#else
typedef u32 dma_addr_t;
+
+typedef u32 phys_addr_t;
+typedef u32 phys_size_t;
+
#endif
typedef u64 dma64_addr_t;