1 #ifndef _ASM_IA64_TYPES_H
2 #define _ASM_IA64_TYPES_H
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.
11 * Based on <asm-alpha/types.h>.
14 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
18 # define __IA64_UL(x) (x)
19 # define __IA64_UL_CONST(x) x
21 # define __IA64_UL(x) ((unsigned long)(x))
22 # define __IA64_UL_CONST(x) x##UL
27 typedef unsigned int umode_t;
30 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
31 * header files exported to user space
34 typedef __signed__ char __s8;
35 typedef unsigned char __u8;
37 typedef __signed__ short __s16;
38 typedef unsigned short __u16;
40 typedef __signed__ int __s32;
41 typedef unsigned int __u32;
43 typedef __signed__ long __s64;
44 typedef unsigned long __u64;
47 * These aren't exported outside the kernel to avoid name space clashes
63 #define BITS_PER_LONG 64
65 /* DMA addresses are 64-bits wide, in general. */
67 typedef u64 dma_addr_t;
69 # endif /* __KERNEL__ */
70 #endif /* !__ASSEMBLY__ */
72 #endif /* _ASM_IA64_TYPES_H */