]> err.no Git - linux-2.6/commit
[PATCH] ntp: prescale time_offset
authorRoman Zippel <zippel@linux-m68k.org>
Sun, 1 Oct 2006 06:28:25 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:26 +0000 (00:39 -0700)
commit3d3675cc3d04d7fd4bb11e8c1ea79e5ade4f5e44
tree7beeef2896cb92e06b0a2ee8fa62b17f1732b72b
parentdc6a43e46f1b6de22701f97bec022e97088cfa90
[PATCH] ntp: prescale time_offset

This converts time_offset into a scaled per tick value.  This avoids now
completely the crude compensation in second_overflow().

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/timex.h
kernel/time/ntp.c