|
@@ -338,10 +338,11 @@ EXPORT_SYMBOL_GPL(ktime_get_mono_fast_ns);
|
|
|
|
|
|
static inline void update_vsyscall(struct timekeeper *tk)
|
|
static inline void update_vsyscall(struct timekeeper *tk)
|
|
{
|
|
{
|
|
- struct timespec xt;
|
|
|
|
|
|
+ struct timespec xt, wm;
|
|
|
|
|
|
xt = timespec64_to_timespec(tk_xtime(tk));
|
|
xt = timespec64_to_timespec(tk_xtime(tk));
|
|
- update_vsyscall_old(&xt, &tk->wall_to_monotonic, tk->tkr.clock, tk->tkr.mult,
|
|
|
|
|
|
+ wm = timespec64_to_timespec(tk->wall_to_monotonic);
|
|
|
|
+ update_vsyscall_old(&xt, &wm, tk->tkr.clock, tk->tkr.mult,
|
|
tk->tkr.cycle_last);
|
|
tk->tkr.cycle_last);
|
|
}
|
|
}
|
|
|
|
|