aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/int-l64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/int-l64.h')
-rw-r--r--include/asm-generic/int-l64.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-generic/int-l64.h b/include/asm-generic/int-l64.h
index 629b5a43f0b0..2af9b75d77db 100644
--- a/include/asm-generic/int-l64.h
+++ b/include/asm-generic/int-l64.h
@@ -44,6 +44,26 @@ typedef unsigned int u32;
44typedef signed long s64; 44typedef signed long s64;
45typedef unsigned long u64; 45typedef unsigned long u64;
46 46
47#define S8_C(x) x
48#define U8_C(x) x ## U
49#define S16_C(x) x
50#define U16_C(x) x ## U
51#define S32_C(x) x
52#define U32_C(x) x ## U
53#define S64_C(x) x ## L
54#define U64_C(x) x ## UL
55
56#else /* __ASSEMBLY__ */
57
58#define S8_C(x) x
59#define U8_C(x) x
60#define S16_C(x) x
61#define U16_C(x) x
62#define S32_C(x) x
63#define U32_C(x) x
64#define S64_C(x) x
65#define U64_C(x) x
66
47#endif /* __ASSEMBLY__ */ 67#endif /* __ASSEMBLY__ */
48 68
49#endif /* __KERNEL__ */ 69#endif /* __KERNEL__ */