projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] fix vsyscall settimeofday
[deliverable/linux.git]
/
kernel
/
timer.c
diff --git
a/kernel/timer.c
b/kernel/timer.c
index ee0a2da4aab33e86df8d625e0cb9dcdd82a009e7..797cccb86431c1a423647141b62270f124c341dc 100644
(file)
--- 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 */
This page took
0.034586 seconds
and
5
git commands to generate.