diff --git a/kernel/timer.c b/kernel/timer.c index ee0a2da4aab33e86df8d625e0cb9dcdd82a009e7..797cccb86431c1a423647141b62270f124c341dc 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -862,6 +862,8 @@ int do_settimeofday(struct timespec *tv) clock->error = 0; ntp_clear(); + update_vsyscall(&xtime, clock); + write_sequnlock_irqrestore(&xtime_lock, flags); /* signal hrtimers about time change */