diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2008-05-01 07:34:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 11:03:59 -0400 |
commit | 8383c42399f394a89bd6c2f03632c53689bdde7a (patch) | |
tree | c3f3a42a546a4afe3746e5894bcd425dc5a3d0bb /include/linux | |
parent | 7fc5c78409479d826341b103bdf734cb4fb02436 (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')
-rw-r--r-- | include/linux/timex.h | 4 |
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. */ |
243 | extern u64 current_tick_length(void); | 243 | extern u64 tick_length; |
244 | 244 | ||
245 | extern void second_overflow(void); | 245 | extern void second_overflow(void); |
246 | extern void update_ntp_one_tick(void); | 246 | extern void update_ntp_one_tick(void); |