aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timex.h
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2008-05-01 07:34:39 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-01 11:03:59 -0400
commit8383c42399f394a89bd6c2f03632c53689bdde7a (patch)
treec3f3a42a546a4afe3746e5894bcd425dc5a3d0bb /include/linux/timex.h
parent7fc5c78409479d826341b103bdf734cb4fb02436 (diff)
ntp: remove current_tick_length()
current_tick_length used to do a little more, but now it just returns tick_length, which we can also access directly at the few places, where it's needed. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Cc: john stultz <johnstul@us.ibm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/timex.h')
-rw-r--r--include/linux/timex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h
index 5994d39de778..da431f8c5c6e 100644
--- a/include/linux/timex.h
+++ b/include/linux/timex.h
@@ -239,8 +239,8 @@ static inline int ntp_synced(void)
239#endif 239#endif
240#define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ) 240#define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ)
241 241
242/* Returns how long ticks are at present, in ns / 2^(SHIFT_SCALE-10). */ 242/* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */
243extern u64 current_tick_length(void); 243extern u64 tick_length;
244 244
245extern void second_overflow(void); 245extern void second_overflow(void);
246extern void update_ntp_one_tick(void); 246extern void update_ntp_one_tick(void);