diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2008-05-01 04:34:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 08:03:59 -0700 |
commit | 8383c42399f394a89bd6c2f03632c53689bdde7a (patch) | |
tree | c3f3a42a546a4afe3746e5894bcd425dc5a3d0bb /include/linux/timex.h | |
parent | 7fc5c78409479d826341b103bdf734cb4fb02436 (diff) | |
download | linux-8383c42399f394a89bd6c2f03632c53689bdde7a.tar.gz linux-8383c42399f394a89bd6c2f03632c53689bdde7a.tar.bz2 linux-8383c42399f394a89bd6c2f03632c53689bdde7a.zip |
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.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) #endif #define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ) -/* Returns how long ticks are at present, in ns / 2^(SHIFT_SCALE-10). */ -extern u64 current_tick_length(void); +/* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */ +extern u64 tick_length; extern void second_overflow(void); extern void update_ntp_one_tick(void); |