• H
    Make constants in kernel/timeconst.h fixed 64 bits · b9095fd8
    H. Peter Anvin 提交于
    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: NH. Peter Anvin <hpa@zytor.com>
    b9095fd8
timeconst.pl 7.2 KB