1 #ifndef _ASM_X86_TYPES_H
2 #define _ASM_X86_TYPES_H
4 #include <asm-generic/int-ll64.h>
8 typedef unsigned short umode_t
;
10 #endif /* __ASSEMBLY__ */
13 * These aren't exported outside the kernel to avoid name space clashes
18 # define BITS_PER_LONG 32
20 # define BITS_PER_LONG 64
25 typedef u64 dma64_addr_t
;
26 #if defined(CONFIG_X86_64) || defined(CONFIG_HIGHMEM64G)
27 /* DMA addresses come in 32-bit and 64-bit flavours. */
28 typedef u64 dma_addr_t
;
30 typedef u32 dma_addr_t
;
33 #endif /* __ASSEMBLY__ */
34 #endif /* __KERNEL__ */
36 #endif /* _ASM_X86_TYPES_H */