Linux 3.12.28
[linux/fpc-iii.git] / include / asm-generic / int-l64.h
blob27d4ec0dfce080f6b07e5510741b7514848cb91f
1 /*
2 * asm-generic/int-l64.h
4 * Integer declarations for architectures which use "long"
5 * for 64-bit types.
6 */
7 #ifndef _ASM_GENERIC_INT_L64_H
8 #define _ASM_GENERIC_INT_L64_H
10 #include <uapi/asm-generic/int-l64.h>
13 #ifndef __ASSEMBLY__
15 typedef signed char s8;
16 typedef unsigned char u8;
18 typedef signed short s16;
19 typedef unsigned short u16;
21 typedef signed int s32;
22 typedef unsigned int u32;
24 typedef signed long s64;
25 typedef unsigned long u64;
27 #define S8_C(x) x
28 #define U8_C(x) x ## U
29 #define S16_C(x) x
30 #define U16_C(x) x ## U
31 #define S32_C(x) x
32 #define U32_C(x) x ## U
33 #define S64_C(x) x ## L
34 #define U64_C(x) x ## UL
36 #else /* __ASSEMBLY__ */
38 #define S8_C(x) x
39 #define U8_C(x) x
40 #define S16_C(x) x
41 #define U16_C(x) x
42 #define S32_C(x) x
43 #define U32_C(x) x
44 #define S64_C(x) x
45 #define U64_C(x) x
47 #endif /* __ASSEMBLY__ */
49 #endif /* _ASM_GENERIC_INT_L64_H */