diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-02 16:18:42 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-02 16:18:42 -0700 |
commit | b9095fd8a7f41dc7ac0b0b7864f74766a3056f96 (patch) | |
tree | 85653322dfb5b0c2faef3973d9d480d8117e4454 /include | |
parent | c25bd29805f4d854c3a0b4176813f3c1bff569d3 (diff) | |
download | linux-b9095fd8a7f41dc7ac0b0b7864f74766a3056f96.tar.gz linux-b9095fd8a7f41dc7ac0b0b7864f74766a3056f96.tar.bz2 linux-b9095fd8a7f41dc7ac0b0b7864f74766a3056f96.zip |
Make constants in kernel/timeconst.h fixed 64 bits
Force constants in kernel/timeconst.h (except shift counts) to be 64 bits,
using U64_C() constructor macros, and eliminate constants that cannot
be represented at all in 64 bits. This avoids warnings with some gcc
versions.
Drop generating 64-bit constants, since we have no real hope of
getting a full set (operation on 64-bit values requires a 128-bit
intermediate result, which gcc only supports on 64-bit platforms, and
only with libgcc support on some.) Note that the use of these
constants does not depend on if we are on a 32- or 64-bit architecture.
This resolves Bugzilla 10153.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions