xref: /linux/include/uapi/asm-generic/int-l64.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * asm-generic/int-l64.h
4  *
5  * Integer declarations for architectures which use "long"
6  * for 64-bit types.
7  */
8 
9 #ifndef _UAPI_ASM_GENERIC_INT_L64_H
10 #define _UAPI_ASM_GENERIC_INT_L64_H
11 
12 #include <asm/bitsperlong.h>
13 
14 #ifndef __ASSEMBLY__
15 /*
16  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
17  * header files exported to user space
18  */
19 
20 typedef __signed__ char __s8;
21 typedef unsigned char __u8;
22 
23 typedef __signed__ short __s16;
24 typedef unsigned short __u16;
25 
26 typedef __signed__ int __s32;
27 typedef unsigned int __u32;
28 
29 typedef __signed__ long __s64;
30 typedef unsigned long __u64;
31 
32 #endif /* __ASSEMBLY__ */
33 
34 
35 #endif /* _UAPI_ASM_GENERIC_INT_L64_H */
36