From: Roman Zippel Date: Sun, 1 Oct 2006 06:28:22 +0000 (-0700) Subject: [PATCH] ntp: add ntp_update_frequency X-Git-Tag: v2.6.19-rc1~560 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ee75561beadc4db4d9a899c8ef4a7db50aa0ab;p=pandora-kernel.git [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 Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed