Merge tag 'v3.10.85' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-generic / int-l64.h
CommitLineData
d13ff31c
PA
1/*
2 * asm-generic/int-l64.h
3 *
4 * Integer declarations for architectures which use "long"
5 * for 64-bit types.
6 */
d13ff31c
PA
7#ifndef _ASM_GENERIC_INT_L64_H
8#define _ASM_GENERIC_INT_L64_H
9
8a1ab315 10#include <uapi/asm-generic/int-l64.h>
d13ff31c 11
d13ff31c
PA
12
13#ifndef __ASSEMBLY__
14
15typedef signed char s8;
16typedef unsigned char u8;
17
18typedef signed short s16;
19typedef unsigned short u16;
20
21typedef signed int s32;
22typedef unsigned int u32;
23
24typedef signed long s64;
25typedef unsigned long u64;
26
c25bd298
PA
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
35
36#else /* __ASSEMBLY__ */
37
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
46
d13ff31c
PA
47#endif /* __ASSEMBLY__ */
48
d13ff31c 49#endif /* _ASM_GENERIC_INT_L64_H */