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
11 #include <asm/bitsperlong.h>
15 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
16 * header files exported to user space
19 typedef __signed__
char __s8
;
20 typedef unsigned char __u8
;
22 typedef __signed__
short __s16
;
23 typedef unsigned short __u16
;
25 typedef __signed__
int __s32
;
26 typedef unsigned int __u32
;
29 __extension__
typedef __signed__
long long __s64
;
30 __extension__
typedef unsigned long long __u64
;
32 typedef __signed__
long long __s64
;
33 typedef unsigned long long __u64
;
36 #endif /* __ASSEMBLY__ */
42 typedef signed char s8
;
43 typedef unsigned char u8
;
45 typedef signed short s16
;
46 typedef unsigned short u16
;
48 typedef signed int s32
;
49 typedef unsigned int u32
;
51 typedef signed long long s64
;
52 typedef unsigned long long u64
;
55 #define U8_C(x) x ## U
57 #define U16_C(x) x ## U
59 #define U32_C(x) x ## U
60 #define S64_C(x) x ## LL
61 #define U64_C(x) x ## ULL
63 #else /* __ASSEMBLY__ */
74 #endif /* __ASSEMBLY__ */
76 #endif /* __KERNEL__ */
78 #endif /* _ASM_GENERIC_INT_LL64_H */