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 * Copyright (C) 1998-2000 Hewlett-Packard Co
12 * Copyright (C) 1998-2000 David Mosberger-Tang <davidm@hpl.hp.com>
16 # define __IA64_UL(x) (x)
17 # define __IA64_UL_CONST(x) x
19 # define __IA64_UL(x) ((unsigned long)(x))
20 # define __IA64_UL_CONST(x) x##UL
25 typedef unsigned int umode_t;
28 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
29 * header files exported to user space
32 typedef __signed__ char __s8;
33 typedef unsigned char __u8;
35 typedef __signed__ short __s16;
36 typedef unsigned short __u16;
38 typedef __signed__ int __s32;
39 typedef unsigned int __u32;
41 typedef __signed__ long __s64;
42 typedef unsigned long __u64;
45 * These aren't exported outside the kernel to avoid name space clashes
61 #define BITS_PER_LONG 64
63 /* DMA addresses are 64-bits wide, in general. */
65 typedef u64 dma_addr_t;
67 # endif /* __KERNEL__ */
68 #endif /* !__ASSEMBLY__ */
70 #endif /* _ASM_IA64_TYPES_H */