]> err.no Git - linux-2.6/blob - include/asm-arm/types.h
Merge branch 'for-2.6.26' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer...
[linux-2.6] / include / asm-arm / types.h
1 #ifndef __ASM_ARM_TYPES_H
2 #define __ASM_ARM_TYPES_H
3
4 #include <asm-generic/int-ll64.h>
5
6 #ifndef __ASSEMBLY__
7
8 typedef unsigned short umode_t;
9
10 #endif /* __ASSEMBLY__ */
11
12 /*
13  * These aren't exported outside the kernel to avoid name space clashes
14  */
15 #ifdef __KERNEL__
16
17 #define BITS_PER_LONG 32
18
19 #ifndef __ASSEMBLY__
20
21 /* Dma addresses are 32-bits wide.  */
22
23 typedef u32 dma_addr_t;
24 typedef u32 dma64_addr_t;
25
26 #endif /* __ASSEMBLY__ */
27
28 #endif /* __KERNEL__ */
29
30 #endif
31