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