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