1#ifndef __ASM_ARM_TYPES_H
2#define __ASM_ARM_TYPES_H
3
4typedef unsigned short umode_t;
5
6
7
8
9
10
11typedef __signed__ char __s8;
12typedef unsigned char __u8;
13
14typedef __signed__ short __s16;
15typedef unsigned short __u16;
16
17typedef __signed__ int __s32;
18typedef unsigned int __u32;
19
20#if defined(__GNUC__)
21__extension__ typedef __signed__ long long __s64;
22__extension__ typedef unsigned long long __u64;
23#endif
24
25
26
27
28#ifdef __KERNEL__
29
30typedef signed char s8;
31typedef unsigned char u8;
32
33typedef signed short s16;
34typedef unsigned short u16;
35
36typedef signed int s32;
37typedef unsigned int u32;
38
39typedef signed long long s64;
40typedef unsigned long long u64;
41
42#define BITS_PER_LONG 32
43
44
45
46typedef u32 dma_addr_t;
47
48typedef unsigned long phys_addr_t;
49typedef unsigned long phys_size_t;
50
51#endif
52
53#endif
54