Correct a bug in the positive 32bit overflow handling of ntp_tick_acc.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 20 Apr 2005 08:04:32 +0000 (08:04 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 20 Apr 2005 08:04:32 +0000 (08:04 +0000)
commit331bc6f8584b3eca14be84bdf96b7210880d874a
tree9c789bf9189324a991169c6fbe4883a4081dd42a
parentf02fec1646fb808c7503b1bf4f2be6b4358178c4
Correct a bug in the positive 32bit overflow handling of ntp_tick_acc.
Simplify the logic by not playing wiered bit masking, just substract
the large part. Depending on whether 64bit math is native, this can be
even faster.
sys/kern/kern_clock.c