summaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2006-10-01 08:28:22 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 09:39:26 +0200
commitb0ee75561beadc4db4d9a899c8ef4a7db50aa0ab (patch)
treee50354c74ce17f6ea78dc1d7fac608788de517f3 /kernel/params.c
parent[PATCH] NTP: Move all the NTP related code to ntp.c (diff)
downloadlinux-b0ee75561beadc4db4d9a899c8ef4a7db50aa0ab.tar.xz
linux-b0ee75561beadc4db4d9a899c8ef4a7db50aa0ab.zip
[PATCH] ntp: add ntp_update_frequency
This introduces ntp_update_frequency() and deinlines ntp_clear() (as it's not performance critical). ntp_update_frequency() calculates the base tick length using tick_usec and adds a base adjustment, in case the frequency doesn't divide evenly by HZ. 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>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions