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