kernel-ark/arch
john stultz b149ee2233 [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 <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-07 16:57:34 -07:00
..
alpha [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
arm [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
arm26 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
cris [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
frv [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
h8300 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
i386 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
ia64
m32r [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
m68k [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
m68knommu [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
mips [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
parisc [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
ppc [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
ppc64 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
s390 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
sh [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
sh64 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
sparc [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
sparc64 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
um
v850 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
x86_64 [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
xtensa [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00