diff options
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/io.h | 2 | ||||
-rw-r--r-- | include/asm-i386/types.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-i386/io.h b/include/asm-i386/io.h index db4f442..2c57140 100644 --- a/include/asm-i386/io.h +++ b/include/asm-i386/io.h @@ -210,8 +210,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-i386/types.h b/include/asm-i386/types.h index bdbde41..9a40e38 100644 --- a/include/asm-i386/types.h +++ b/include/asm-i386/types.h @@ -45,6 +45,9 @@ typedef unsigned long long u64; typedef u32 dma_addr_t; +typedef unsigned long phys_addr_t; +typedef unsigned long phys_size_t; + #endif /* __KERNEL__ */ #endif |