Linux 4.14.5
[linux/fpc-iii.git] / include / asm-generic / int-ll64.h
blobffb68d67be5f9b8911394e816a13972158c27240
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * asm-generic/int-ll64.h
5 * Integer declarations for architectures which use "long long"
6 * for 64-bit types.
7 */
8 #ifndef _ASM_GENERIC_INT_LL64_H
9 #define _ASM_GENERIC_INT_LL64_H
11 #include <uapi/asm-generic/int-ll64.h>
14 #ifndef __ASSEMBLY__
16 typedef signed char s8;
17 typedef unsigned char u8;
19 typedef signed short s16;
20 typedef unsigned short u16;
22 typedef signed int s32;
23 typedef unsigned int u32;
25 typedef signed long long s64;
26 typedef unsigned long long u64;
28 #define S8_C(x) x
29 #define U8_C(x) x ## U
30 #define S16_C(x) x
31 #define U16_C(x) x ## U
32 #define S32_C(x) x
33 #define U32_C(x) x ## U
34 #define S64_C(x) x ## LL
35 #define U64_C(x) x ## ULL
37 #else /* __ASSEMBLY__ */
39 #define S8_C(x) x
40 #define U8_C(x) x
41 #define S16_C(x) x
42 #define U16_C(x) x
43 #define S32_C(x) x
44 #define U32_C(x) x
45 #define S64_C(x) x
46 #define U64_C(x) x
48 #endif /* __ASSEMBLY__ */
50 #endif /* _ASM_GENERIC_INT_LL64_H */