1 #ifndef _ASM_TYPES_H
2 #define _ASM_TYPES_H
3 
4 #include <asm-generic/int-ll64.h>
5 
6 /*
7  * This file is never included by application software unless
8  * explicitly requested (e.g., via linux/types.h) in which case the
9  * application is Linux specific so (user-) name space pollution is
10  * not a major issue.  However, for interoperability, libraries still
11  * need to be careful to avoid a name clashes.
12  */
13 
14 typedef unsigned short umode_t;
15 
16 /*
17  * These aren't exported outside the kernel to avoid name space clashes
18  */
19 #ifdef __KERNEL__
20 
21 #define BITS_PER_LONG 32
22 
23 /* Dma addresses are 32-bits wide.  */
24 
25 typedef u32 dma_addr_t;
26 
27 typedef unsigned long phys_addr_t;
28 typedef unsigned long phys_size_t;
29 #endif /* __KERNEL__ */
30 
31 #endif /* _ASM_TYPES_H */
32