Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95942
b: refs/heads/master
c: c25bd29
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed May 2, 2008
1 parent 29e99e2 commit b62641b
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4cf63c8ac48c63b4c55669d4648506ed2bb8976f
refs/heads/master: c25bd29805f4d854c3a0b4176813f3c1bff569d3
20 changes: 20 additions & 0 deletions trunk/include/asm-generic/int-l64.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,26 @@ typedef unsigned int u32;
typedef signed long s64;
typedef unsigned long u64;

#define S8_C(x) x
#define U8_C(x) x ## U
#define S16_C(x) x
#define U16_C(x) x ## U
#define S32_C(x) x
#define U32_C(x) x ## U
#define S64_C(x) x ## L
#define U64_C(x) x ## UL

#else /* __ASSEMBLY__ */

#define S8_C(x) x
#define U8_C(x) x
#define S16_C(x) x
#define U16_C(x) x
#define S32_C(x) x
#define U32_C(x) x
#define S64_C(x) x
#define U64_C(x) x

#endif /* __ASSEMBLY__ */

#endif /* __KERNEL__ */
Expand Down
20 changes: 20 additions & 0 deletions trunk/include/asm-generic/int-ll64.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;

#define S8_C(x) x
#define U8_C(x) x ## U
#define S16_C(x) x
#define U16_C(x) x ## U
#define S32_C(x) x
#define U32_C(x) x ## U
#define S64_C(x) x ## LL
#define U64_C(x) x ## ULL

#else /* __ASSEMBLY__ */

#define S8_C(x) x
#define U8_C(x) x
#define S16_C(x) x
#define U16_C(x) x
#define S32_C(x) x
#define U32_C(x) x
#define S64_C(x) x
#define U64_C(x) x

#endif /* __ASSEMBLY__ */

#endif /* __KERNEL__ */
Expand Down

0 comments on commit b62641b

Please sign in to comment.