aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-09-23 18:31:42 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-23 18:34:06 -0700
commite17ba8f51f69782abc4575dd30848ba5eafaa797 (patch)
tree534d829913806ce56e32f3d2e0404f3ab236bddf /arch/s390/kernel
parent1ab9dd0902df4f4ff56fbf672220549090ab28ba (diff)
[SPARC64]: Fix sched_clock() wrapping every ~17 seconds.
Unfortunately, sparc64 doesn't have an easy way to do a "64 X 64 --> 128" bit multiply like PowerPC and IA64 do. We were doing a "64 X 64 --> 64" bit multiple which causes overflow very quickly with a 30-bit quotient shift. So use a quotientshift count of 10 instead of 30, just like x86 and ARM do. This also fixes the wrapping of printk timestamp values every ~17 seconds. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390/kernel')
0 files changed, 0 insertions, 0 deletions