|
@@ -442,11 +442,12 @@ static void timekeeping_update(struct timekeeper *tk, unsigned int action)
|
|
tk->ntp_error = 0;
|
|
tk->ntp_error = 0;
|
|
ntp_clear();
|
|
ntp_clear();
|
|
}
|
|
}
|
|
- update_vsyscall(tk);
|
|
|
|
- update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET);
|
|
|
|
|
|
|
|
tk_update_ktime_data(tk);
|
|
tk_update_ktime_data(tk);
|
|
|
|
|
|
|
|
+ update_vsyscall(tk);
|
|
|
|
+ update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET);
|
|
|
|
+
|
|
if (action & TK_MIRROR)
|
|
if (action & TK_MIRROR)
|
|
memcpy(&shadow_timekeeper, &tk_core.timekeeper,
|
|
memcpy(&shadow_timekeeper, &tk_core.timekeeper,
|
|
sizeof(tk_core.timekeeper));
|
|
sizeof(tk_core.timekeeper));
|