blob: bd621ecd1eb33a21516af7ac6c3629b0f098e65b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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 Dunlap5f0e3da2009-03-31 15:23:36 -070011
12#ifdef __KERNEL__
13#include <asm-generic/int-ll64.h>
14#else
H. Peter Anvin3726c232008-04-06 10:35:00 -070015#include <asm-generic/int-l64.h>
Randy Dunlap5f0e3da2009-03-31 15:23:36 -070016#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18#ifndef __ASSEMBLY__
19
20typedef unsigned int umode_t;
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#endif /* __ASSEMBLY__ */
23
24/*
25 * These aren't exported outside the kernel to avoid name space clashes
26 */
27#ifdef __KERNEL__
Adrian Bunk36bbfe22008-05-03 23:51:03 +030028#ifndef __ASSEMBLY__
29
30typedef u64 dma_addr_t;
31typedef u64 dma64_addr_t;
32
33#endif /* __ASSEMBLY__ */
Linus Torvalds1da177e2005-04-16 15:20:36 -070034#endif /* __KERNEL__ */
35#endif /* _ALPHA_TYPES_H */