diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 21:04:05 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 10:17:55 -0700 |
commit | c905fae43f61c2b4508fc01722e8db61b6b8ac0b (patch) | |
tree | af1e3421233bb43aa26de12fcd76df01a83e178a /include/linux/timekeeper_internal.h | |
parent | d6d29896c665dfd50e6e0be7a9039901640433a3 (diff) | |
download | linux-c905fae43f61c2b4508fc01722e8db61b6b8ac0b.tar.gz linux-c905fae43f61c2b4508fc01722e8db61b6b8ac0b.tar.bz2 linux-c905fae43f61c2b4508fc01722e8db61b6b8ac0b.zip |
timekeeper: Move tk_xtime to core code
No users outside of the core.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeper_internal.h')
-rw-r--r-- | include/linux/timekeeper_internal.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h index 1b05491e10f9..16de6d7c240a 100644 --- a/include/linux/timekeeper_internal.h +++ b/include/linux/timekeeper_internal.h @@ -71,16 +71,6 @@ struct timekeeper { }; -static inline struct timespec64 tk_xtime(struct timekeeper *tk) -{ - struct timespec64 ts; - - ts.tv_sec = tk->xtime_sec; - ts.tv_nsec = (long)(tk->xtime_nsec >> tk->shift); - return ts; -} - - #ifdef CONFIG_GENERIC_TIME_VSYSCALL extern void update_vsyscall(struct timekeeper *tk); @@ -92,14 +82,6 @@ extern void update_vsyscall_old(struct timespec *ts, struct timespec *wtm, struct clocksource *c, u32 mult); extern void update_vsyscall_tz(void); -static inline void update_vsyscall(struct timekeeper *tk) -{ - struct timespec xt; - - xt = tk_xtime(tk); - update_vsyscall_old(&xt, &tk->wall_to_monotonic, tk->clock, tk->mult); -} - #else static inline void update_vsyscall(struct timekeeper *tk) |