From: john stultz Date: Tue, 6 Sep 2005 22:17:46 +0000 (-0700) Subject: [PATCH] NTP: ntp-helper functions X-Git-Tag: v2.6.14-rc1~665 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b149ee2233edf08fb59b11e879a2c5941929bcb8;p=pandora-kernel.git [PATCH] NTP: ntp-helper functions This patch cleans up a commonly repeated set of changes to the NTP state variables by adding two helper inline functions: ntp_clear(): Clears the ntp state variables ntp_synced(): Returns 1 if the system is synced with a time server. This was compile tested for alpha, arm, i386, x86-64, ppc64, s390, sparc, sparc64. Signed-off-by: John Stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed