18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 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#ifndef _ASM_GENERIC_INT_LL64_H 98c2ecf20Sopenharmony_ci#define _ASM_GENERIC_INT_LL64_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <uapi/asm-generic/int-ll64.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__ 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_citypedef __s8 s8; 178c2ecf20Sopenharmony_citypedef __u8 u8; 188c2ecf20Sopenharmony_citypedef __s16 s16; 198c2ecf20Sopenharmony_citypedef __u16 u16; 208c2ecf20Sopenharmony_citypedef __s32 s32; 218c2ecf20Sopenharmony_citypedef __u32 u32; 228c2ecf20Sopenharmony_citypedef __s64 s64; 238c2ecf20Sopenharmony_citypedef __u64 u64; 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#define S8_C(x) x 268c2ecf20Sopenharmony_ci#define U8_C(x) x ## U 278c2ecf20Sopenharmony_ci#define S16_C(x) x 288c2ecf20Sopenharmony_ci#define U16_C(x) x ## U 298c2ecf20Sopenharmony_ci#define S32_C(x) x 308c2ecf20Sopenharmony_ci#define U32_C(x) x ## U 318c2ecf20Sopenharmony_ci#define S64_C(x) x ## LL 328c2ecf20Sopenharmony_ci#define U64_C(x) x ## ULL 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci#else /* __ASSEMBLY__ */ 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci#define S8_C(x) x 378c2ecf20Sopenharmony_ci#define U8_C(x) x 388c2ecf20Sopenharmony_ci#define S16_C(x) x 398c2ecf20Sopenharmony_ci#define U16_C(x) x 408c2ecf20Sopenharmony_ci#define S32_C(x) x 418c2ecf20Sopenharmony_ci#define U32_C(x) x 428c2ecf20Sopenharmony_ci#define S64_C(x) x 438c2ecf20Sopenharmony_ci#define U64_C(x) x 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci#endif /* __ASSEMBLY__ */ 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci#endif /* _ASM_GENERIC_INT_LL64_H */ 48