From: H. Peter Anvin Date: Fri, 2 May 2008 23:18:42 +0000 (-0700) Subject: Make constants in kernel/timeconst.h fixed 64 bits X-Git-Tag: v2.6.26-rc1~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9095fd8a7f41dc7ac0b0b7864f74766a3056f96;p=pandora-kernel.git 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 --- Reading git-diff-tree failed