added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / arch / ia64 / include / asm / types.h
blobe36b3716e71851493137eddc7a04702f4bc578d5
1 #ifndef _ASM_IA64_TYPES_H
2 #define _ASM_IA64_TYPES_H
4 /*
5 * This file is never included by application software unless explicitly requested (e.g.,
6 * via linux/types.h) in which case the application is Linux specific so (user-) name
7 * space pollution is not a major issue. However, for interoperability, libraries still
8 * need to be careful to avoid a name clashes.
10 * Based on <asm-alpha/types.h>.
12 * Modified 1998-2000, 2002
13 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
16 #include <asm-generic/int-l64.h>
18 #ifdef __ASSEMBLY__
19 # define __IA64_UL(x) (x)
20 # define __IA64_UL_CONST(x) x
22 # ifdef __KERNEL__
23 # define BITS_PER_LONG 64
24 # endif
26 #else
27 # define __IA64_UL(x) ((unsigned long)(x))
28 # define __IA64_UL_CONST(x) x##UL
30 typedef unsigned int umode_t;
33 * These aren't exported outside the kernel to avoid name space clashes
35 # ifdef __KERNEL__
37 #define BITS_PER_LONG 64
39 /* DMA addresses are 64-bits wide, in general. */
41 typedef u64 dma_addr_t;
43 # endif /* __KERNEL__ */
44 #endif /* !__ASSEMBLY__ */
46 #endif /* _ASM_IA64_TYPES_H */