[PATCH] fix vsyscall settimeofday
[deliverable/linux.git] / kernel / timer.c
index ee0a2da4aab33e86df8d625e0cb9dcdd82a009e7..797cccb86431c1a423647141b62270f124c341dc 100644 (file)
@@ -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 */
This page took 0.034586 seconds and 5 git commands to generate.