Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / ia64 / include / asm / types.h
blob3f5b122d9975161ea01ab1b8fa3833ac98944bd2
1 #ifndef _ASM_IA64_TYPES_H
2 #define _ASM_IA64_TYPES_H
4 /*
5 * This file is never included by application software unless explicitly
6 * requested (e.g., via linux/types.h) in which case the application is
7 * Linux specific so (user-) name space pollution is not a major issue.
8 * However, for interoperability, libraries still need to be careful to
9 * avoid naming clashes.
11 * Based on <asm-alpha/types.h>.
13 * Modified 1998-2000, 2002
14 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
17 #ifdef __KERNEL__
18 #include <asm-generic/int-ll64.h>
19 #else
20 #include <asm-generic/int-l64.h>
21 #endif
23 #ifdef __ASSEMBLY__
24 # define __IA64_UL(x) (x)
25 # define __IA64_UL_CONST(x) x
27 #else
28 # define __IA64_UL(x) ((unsigned long)(x))
29 # define __IA64_UL_CONST(x) x##UL
32 * These aren't exported outside the kernel to avoid name space clashes
34 # ifdef __KERNEL__
36 struct fnptr {
37 unsigned long ip;
38 unsigned long gp;
41 # endif /* __KERNEL__ */
42 #endif /* !__ASSEMBLY__ */
44 #endif /* _ASM_IA64_TYPES_H */