diff options
| author | Daniel Walker <[email protected]> | 2007-03-06 01:42:11 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-03-06 09:30:25 -0800 |
| commit | 90675a27fa3eb0e97f1d040b183cceb44316e669 (patch) | |
| tree | cf97bd53de877c12798368a4e06bba21285c0763 /include/linux/debugobjects.h | |
| parent | 7a434814c7a6500b08bf4419ba8712b152d08d08 (diff) | |
[PATCH] fix vsyscall settimeofday
I've only seen this on x86_64.
The vsyscall state only gets updated when a timer interrupts comes in. So
if the time is set long before the next timer, there will be a period when
a gettimeofday() won't reflect the correct time.
I added an explicit update_vsyscall() during the settimeofday(), that way
the vsyscall state doesn't get stale.
Signed-off-by: Daniel Walker <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Acked-by: John Stultz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions