1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28a1ab315SDavid Howells /* 38a1ab315SDavid Howells * asm-generic/int-l64.h 48a1ab315SDavid Howells * 58a1ab315SDavid Howells * Integer declarations for architectures which use "long" 68a1ab315SDavid Howells * for 64-bit types. 78a1ab315SDavid Howells */ 88a1ab315SDavid Howells 98a1ab315SDavid Howells #ifndef _UAPI_ASM_GENERIC_INT_L64_H 108a1ab315SDavid Howells #define _UAPI_ASM_GENERIC_INT_L64_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 typedef __signed__ long __s64; 308a1ab315SDavid Howells typedef unsigned long __u64; 318a1ab315SDavid Howells 328a1ab315SDavid Howells #endif /* __ASSEMBLY__ */ 338a1ab315SDavid Howells 348a1ab315SDavid Howells 358a1ab315SDavid Howells #endif /* _UAPI_ASM_GENERIC_INT_L64_H */ 36