Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _PARISC_TYPES_H |
2 | #define _PARISC_TYPES_H | |
3 | ||
849bf3a0 PA |
4 | #include <asm-generic/int-ll64.h> |
5 | ||
1da177e4 LT |
6 | #ifndef __ASSEMBLY__ |
7 | ||
8 | typedef unsigned short umode_t; | |
9 | ||
1da177e4 LT |
10 | #endif /* __ASSEMBLY__ */ |
11 | ||
12 | /* | |
13 | * These aren't exported outside the kernel to avoid name space clashes | |
14 | */ | |
15 | #ifdef __KERNEL__ | |
16 | ||
1da177e4 LT |
17 | #ifndef __ASSEMBLY__ |
18 | ||
1da177e4 LT |
19 | /* Dma addresses are 32-bits wide. */ |
20 | ||
21 | typedef u32 dma_addr_t; | |
22 | typedef u64 dma64_addr_t; | |
23 | ||
1da177e4 LT |
24 | #endif /* __ASSEMBLY__ */ |
25 | ||
26 | #endif /* __KERNEL__ */ | |
27 | ||
28 | #endif |