Correct a bug in the positive 32bit overflow handling of ntp_tick_acc.
commit1cac50f057a78b86bd6da66b285d975bc8e38e47
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 20 Apr 2005 08:04:32 +0000 (20 08:04 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 20 Apr 2005 08:04:32 +0000 (20 08:04 +0000)
treeca52a358ffef94177dba060f618e001274b7398c
parent2367c3f7f8b40d53746f5ccb7eff8d566286ed8b
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