xref: /linux/arch/x86/include/uapi/asm/posix_types_x32.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_X86_POSIX_TYPES_X32_H
3 #define _ASM_X86_POSIX_TYPES_X32_H
4 
5 /*
6  * This file is only used by user-level software, so you need to
7  * be a little careful about namespace pollution etc.  Also, we cannot
8  * assume GCC is being used.
9  *
10  * These types should generally match the ones used by the 64-bit kernel,
11  *
12  */
13 
14 typedef long long __kernel_long_t;
15 typedef unsigned long long __kernel_ulong_t;
16 #define __kernel_long_t __kernel_long_t
17 
18 #include <asm/posix_types_64.h>
19 
20 #endif /* _ASM_X86_POSIX_TYPES_X32_H */
21