xref: /openbmc/linux/arch/ia64/include/uapi/asm/types.h (revision 75016ca3)
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 _UAPI_ASM_IA64_TYPES_H
15 #define _UAPI_ASM_IA64_TYPES_H
16 
17 
18 #ifndef __KERNEL__
19 #include <asm-generic/int-l64.h>
20 #endif
21 
22 #ifdef __ASSEMBLY__
23 # define __IA64_UL(x)		(x)
24 # define __IA64_UL_CONST(x)	x
25 
26 #else
27 # define __IA64_UL(x)		((unsigned long)(x))
28 # define __IA64_UL_CONST(x)	x##UL
29 
30 #endif /* !__ASSEMBLY__ */
31 
32 #endif /* _UAPI_ASM_IA64_TYPES_H */
33