2 * asm-generic/int-ll64.h
4 * Integer declarations for architectures which use "long long"
8 #ifndef _ASM_GENERIC_INT_LL64_H
9 #define _ASM_GENERIC_INT_LL64_H
13 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
14 * header files exported to user space
17 typedef __signed__
char __s8
;
18 typedef unsigned char __u8
;
20 typedef __signed__
short __s16
;
21 typedef unsigned short __u16
;
23 typedef __signed__
int __s32
;
24 typedef unsigned int __u32
;
27 __extension__
typedef __signed__
long long __s64
;
28 __extension__
typedef unsigned long long __u64
;
29 #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
30 typedef __signed__
long long __s64
;
31 typedef unsigned long long __u64
;
34 #endif /* __ASSEMBLY__ */
40 typedef signed char s8
;
41 typedef unsigned char u8
;
43 typedef signed short s16
;
44 typedef unsigned short u16
;
46 typedef signed int s32
;
47 typedef unsigned int u32
;
49 typedef signed long long s64
;
50 typedef unsigned long long u64
;
53 #define U8_C(x) x ## U
55 #define U16_C(x) x ## U
57 #define U32_C(x) x ## U
58 #define S64_C(x) x ## LL
59 #define U64_C(x) x ## ULL
61 #else /* __ASSEMBLY__ */
72 #endif /* __ASSEMBLY__ */
74 #endif /* __KERNEL__ */
76 #endif /* _ASM_GENERIC_INT_LL64_H */