Add ia64 arch
[platform/upstream/linux-glibc-devel.git] / usr / include / asm-ia64 / types.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * This file is never included by application software unless explicitly
4  * requested (e.g., via linux/types.h) in which case the application is
5  * Linux specific so (user-) name space pollution is not a major issue.
6  * However, for interoperability, libraries still need to be careful to
7  * avoid naming clashes.
8  *
9  * Based on <asm-alpha/types.h>.
10  *
11  * Modified 1998-2000, 2002
12  *      David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
13  */
14 #ifndef _ASM_IA64_TYPES_H
15 #define _ASM_IA64_TYPES_H
16
17
18 #include <asm-generic/int-l64.h>
19
20 #ifdef __ASSEMBLY__
21 # define __IA64_UL(x)           (x)
22 # define __IA64_UL_CONST(x)     x
23
24 #else
25 # define __IA64_UL(x)           ((unsigned long)(x))
26 # define __IA64_UL_CONST(x)     x##UL
27
28 #endif /* !__ASSEMBLY__ */
29
30 #endif /* _ASM_IA64_TYPES_H */