]> err.no Git - linux-2.6/commit
[PATCH] ntp: convert time_freq to nsec value
authorRoman Zippel <zippel@linux-m68k.org>
Sun, 1 Oct 2006 06:28:27 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:27 +0000 (00:39 -0700)
commit04b617e71e363e640e88be1e43f53fa6a3afef9f
treeb59e8e75e4671bc5e10f4fcaace85d4658d4d0f0
parent97eebe138caaf78354b1fad233e63bafdcc4fd54
[PATCH] ntp: convert time_freq to nsec value

This converts time_freq to a scaled nsec value and adds around 6bit of extra
resolution.  This pushes the time_freq to its 32bit limits so the calculatons
have to be done with 64bit.

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