xref: /openbmc/linux/arch/xtensa/include/uapi/asm/types.h (revision 8dda2eac)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * include/asm-xtensa/types.h
4  *
5  * This file is subject to the terms and conditions of the GNU General Public
6  * License.  See the file "COPYING" in the main directory of this archive
7  * for more details.
8  *
9  * Copyright (C) 2001 - 2005 Tensilica Inc.
10  */
11 
12 #ifndef _UAPI_XTENSA_TYPES_H
13 #define _UAPI_XTENSA_TYPES_H
14 
15 #include <asm-generic/int-ll64.h>
16 
17 #ifdef __ASSEMBLY__
18 # define __XTENSA_UL(x)		(x)
19 # define __XTENSA_UL_CONST(x)	x
20 #else
21 # define __XTENSA_UL(x)		((unsigned long)(x))
22 # define ___XTENSA_UL_CONST(x)	x##UL
23 # define __XTENSA_UL_CONST(x)	___XTENSA_UL_CONST(x)
24 #endif
25 
26 #ifndef __ASSEMBLY__
27 
28 #endif
29 
30 #endif /* _UAPI_XTENSA_TYPES_H */
31