diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/timekeeper_internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h index f7ac48d2edf5..e9660e52dc09 100644 --- a/include/linux/timekeeper_internal.h +++ b/include/linux/timekeeper_internal.h | |||
| @@ -90,6 +90,15 @@ struct timekeeper { | |||
| 90 | u64 xtime_interval; | 90 | u64 xtime_interval; |
| 91 | s64 xtime_remainder; | 91 | s64 xtime_remainder; |
| 92 | u32 raw_interval; | 92 | u32 raw_interval; |
| 93 | /* The ntp_tick_length() value currently being used. | ||
| 94 | * This cached copy ensures we consistently apply the tick | ||
| 95 | * length for an entire tick, as ntp_tick_length may change | ||
| 96 | * mid-tick, and we don't want to apply that new value to | ||
| 97 | * the tick in progress. | ||
| 98 | */ | ||
| 99 | u64 ntp_tick; | ||
| 100 | /* Difference between accumulated time and NTP time in ntp | ||
| 101 | * shifted nano seconds. */ | ||
| 93 | s64 ntp_error; | 102 | s64 ntp_error; |
| 94 | u32 ntp_error_shift; | 103 | u32 ntp_error_shift; |
| 95 | u32 ntp_err_mult; | 104 | u32 ntp_err_mult; |
