Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ALPHA_TYPES_H |
| 2 | #define _ALPHA_TYPES_H |
| 3 | |
| 4 | /* |
| 5 | * This file is never included by application software unless |
| 6 | * explicitly requested (e.g., via linux/types.h) in which case the |
| 7 | * application is Linux specific so (user-) name space pollution is |
| 8 | * not a major issue. However, for interoperability, libraries still |
| 9 | * need to be careful to avoid a name clashes. |
| 10 | */ |
Randy Dunlap | 5f0e3da | 2009-03-31 15:23:36 -0700 | [diff] [blame] | 11 | |
| 12 | #ifdef __KERNEL__ |
| 13 | #include <asm-generic/int-ll64.h> |
| 14 | #else |
H. Peter Anvin | 3726c23 | 2008-04-06 10:35:00 -0700 | [diff] [blame] | 15 | #include <asm-generic/int-l64.h> |
Randy Dunlap | 5f0e3da | 2009-03-31 15:23:36 -0700 | [diff] [blame] | 16 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | #ifndef __ASSEMBLY__ |
| 19 | |
| 20 | typedef unsigned int umode_t; |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #endif /* __ASSEMBLY__ */ |
| 23 | |
| 24 | /* |
| 25 | * These aren't exported outside the kernel to avoid name space clashes |
| 26 | */ |
| 27 | #ifdef __KERNEL__ |
Adrian Bunk | 36bbfe2 | 2008-05-03 23:51:03 +0300 | [diff] [blame] | 28 | #ifndef __ASSEMBLY__ |
| 29 | |
| 30 | typedef u64 dma_addr_t; |
| 31 | typedef u64 dma64_addr_t; |
| 32 | |
| 33 | #endif /* __ASSEMBLY__ */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | #endif /* __KERNEL__ */ |
| 35 | #endif /* _ALPHA_TYPES_H */ |