diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-04-24 22:37:33 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-03 01:18:42 +0200 |
commit | c25bd29805f4d854c3a0b4176813f3c1bff569d3 (patch) | |
tree | 8712a2748b842176d177dedb2e6594b71fc2ff10 /kernel/timeconst.pl | |
parent | xtensa: types: use <asm-generic/int-*.h> for the xtensa architecture (diff) | |
download | linux-c25bd29805f4d854c3a0b4176813f3c1bff569d3.tar.xz linux-c25bd29805f4d854c3a0b4176813f3c1bff569d3.zip |
types: add C99-style constructors to <asm-generic/int-*.h>
Add C99-style constructor macros for fixed types to
<asm-generic/int-*.h>. Since Linux uses names like "u64" instead of
"uint64_t", the constructor macros are called U64_C() instead of
UINT64_C() and so forth.
These macros allow specific sizes to be specified as
U64_C(0x123456789abcdef), without gcc issuing warnings as it will if
one writes (u64)0x123456789abcdef.
When used from assembly, these macros pass their argument unchanged.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'kernel/timeconst.pl')
0 files changed, 0 insertions, 0 deletions