18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * asm-generic/int-ll64.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Integer declarations for architectures which use "long long"
68c2ecf20Sopenharmony_ci * for 64-bit types.
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef _UAPI_ASM_GENERIC_INT_LL64_H
108c2ecf20Sopenharmony_ci#define _UAPI_ASM_GENERIC_INT_LL64_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include <asm/bitsperlong.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__
158c2ecf20Sopenharmony_ci/*
168c2ecf20Sopenharmony_ci * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
178c2ecf20Sopenharmony_ci * header files exported to user space
188c2ecf20Sopenharmony_ci */
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_citypedef __signed__ char __s8;
218c2ecf20Sopenharmony_citypedef unsigned char __u8;
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_citypedef __signed__ short __s16;
248c2ecf20Sopenharmony_citypedef unsigned short __u16;
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_citypedef __signed__ int __s32;
278c2ecf20Sopenharmony_citypedef unsigned int __u32;
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#ifdef __GNUC__
308c2ecf20Sopenharmony_ci__extension__ typedef __signed__ long long __s64;
318c2ecf20Sopenharmony_ci__extension__ typedef unsigned long long __u64;
328c2ecf20Sopenharmony_ci#else
338c2ecf20Sopenharmony_citypedef __signed__ long long __s64;
348c2ecf20Sopenharmony_citypedef unsigned long long __u64;
358c2ecf20Sopenharmony_ci#endif
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#endif /* __ASSEMBLY__ */
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci#endif /* _UAPI_ASM_GENERIC_INT_LL64_H */
41