commit | b0ee75561beadc4db4d9a899c8ef4a7db50aa0ab | [log] [tgz] |
---|---|---|
author | Roman Zippel <zippel@linux-m68k.org> | Sat Sep 30 23:28:22 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Oct 01 00:39:26 2006 -0700 |
tree | e50354c74ce17f6ea78dc1d7fac608788de517f3 | |
parent | 4c7ee8de956fc250fe31e2fa91f6da980fabe317 [diff] |
[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>