Merge branches 'fixes', 'pgt-next' and 'versatile' into devel
[deliverable/linux.git] / arch / x86 / include / asm / types.h
1 #ifndef _ASM_X86_TYPES_H
2 #define _ASM_X86_TYPES_H
3
4 #define dma_addr_t dma_addr_t
5
6 #include <asm-generic/types.h>
7
8 #ifdef __KERNEL__
9 #ifndef __ASSEMBLY__
10
11 typedef u64 dma64_addr_t;
12 #if defined(CONFIG_X86_64) || defined(CONFIG_HIGHMEM64G)
13 /* DMA addresses come in 32-bit and 64-bit flavours. */
14 typedef u64 dma_addr_t;
15 #else
16 typedef u32 dma_addr_t;
17 #endif
18
19 #endif /* __ASSEMBLY__ */
20 #endif /* __KERNEL__ */
21
22 #endif /* _ASM_X86_TYPES_H */
This page took 0.03758 seconds and 5 git commands to generate.