diff options
Diffstat (limited to 'include/asm-microblaze')
-rw-r--r-- | include/asm-microblaze/io.h | 2 | ||||
-rw-r--r-- | include/asm-microblaze/types.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-microblaze/io.h b/include/asm-microblaze/io.h index 90d18428ad1..aa37a60ce75 100644 --- a/include/asm-microblaze/io.h +++ b/include/asm-microblaze/io.h @@ -134,8 +134,6 @@ static inline void sync(void) * that can be used to access the memory range with the caching * properties specified by "flags". */ -typedef unsigned long phys_addr_t; - #define MAP_NOCACHE (0) #define MAP_WRCOMBINE (0) #define MAP_WRBACK (0) diff --git a/include/asm-microblaze/types.h b/include/asm-microblaze/types.h index 3895dc43650..77094f62d63 100644 --- a/include/asm-microblaze/types.h +++ b/include/asm-microblaze/types.h @@ -52,6 +52,9 @@ typedef unsigned long long u64; /* Dma addresses are 32-bits wide. */ typedef u32 dma_addr_t; + +typedef unsigned long phys_addr_t; +typedef unsigned long phys_size_t; #endif /* __KERNEL__ */ #endif /* _ASM_TYPES_H */ |