|
@@ -637,9 +637,7 @@ static inline void tk_update_ktime_data(struct timekeeper *tk)
|
|
tk->ktime_sec = seconds;
|
|
tk->ktime_sec = seconds;
|
|
|
|
|
|
/* Update the monotonic raw base */
|
|
/* Update the monotonic raw base */
|
|
- seconds = tk->raw_sec;
|
|
|
|
- nsec = (u32)(tk->tkr_raw.xtime_nsec >> tk->tkr_raw.shift);
|
|
|
|
- tk->tkr_raw.base = ns_to_ktime(seconds * NSEC_PER_SEC + nsec);
|
|
|
|
|
|
+ tk->tkr_raw.base = ns_to_ktime(tk->raw_sec * NSEC_PER_SEC);
|
|
}
|
|
}
|
|
|
|
|
|
/* must hold timekeeper_lock */
|
|
/* must hold timekeeper_lock */
|