|
@@ -170,7 +170,8 @@ void timekeeping_leap_insert(int leapsecond)
|
|
{
|
|
{
|
|
xtime.tv_sec += leapsecond;
|
|
xtime.tv_sec += leapsecond;
|
|
wall_to_monotonic.tv_sec -= leapsecond;
|
|
wall_to_monotonic.tv_sec -= leapsecond;
|
|
- update_vsyscall(&xtime, timekeeper.clock, timekeeper.mult);
|
|
|
|
|
|
+ update_vsyscall(&xtime, &wall_to_monotonic, timekeeper.clock,
|
|
|
|
+ timekeeper.mult);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -326,7 +327,8 @@ int do_settimeofday(struct timespec *tv)
|
|
timekeeper.ntp_error = 0;
|
|
timekeeper.ntp_error = 0;
|
|
ntp_clear();
|
|
ntp_clear();
|
|
|
|
|
|
- update_vsyscall(&xtime, timekeeper.clock, timekeeper.mult);
|
|
|
|
|
|
+ update_vsyscall(&xtime, &wall_to_monotonic, timekeeper.clock,
|
|
|
|
+ timekeeper.mult);
|
|
|
|
|
|
write_sequnlock_irqrestore(&xtime_lock, flags);
|
|
write_sequnlock_irqrestore(&xtime_lock, flags);
|
|
|
|
|
|
@@ -809,7 +811,8 @@ void update_wall_time(void)
|
|
}
|
|
}
|
|
|
|
|
|
/* check to see if there is a new clocksource to use */
|
|
/* check to see if there is a new clocksource to use */
|
|
- update_vsyscall(&xtime, timekeeper.clock, timekeeper.mult);
|
|
|
|
|
|
+ update_vsyscall(&xtime, &wall_to_monotonic, timekeeper.clock,
|
|
|
|
+ timekeeper.mult);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|