diff options
Diffstat (limited to 'include/linux/timekeeper_internal.h')
-rw-r--r-- | include/linux/timekeeper_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h index 7acb953298a7..84ff2844df2a 100644 --- a/include/linux/timekeeper_internal.h +++ b/include/linux/timekeeper_internal.h | |||
@@ -57,6 +57,7 @@ struct tk_read_base { | |||
57 | * @cs_was_changed_seq: The sequence number of clocksource change events | 57 | * @cs_was_changed_seq: The sequence number of clocksource change events |
58 | * @next_leap_ktime: CLOCK_MONOTONIC time value of a pending leap-second | 58 | * @next_leap_ktime: CLOCK_MONOTONIC time value of a pending leap-second |
59 | * @raw_sec: CLOCK_MONOTONIC_RAW time in seconds | 59 | * @raw_sec: CLOCK_MONOTONIC_RAW time in seconds |
60 | * @monotonic_to_boot: CLOCK_MONOTONIC to CLOCK_BOOTTIME offset | ||
60 | * @cycle_interval: Number of clock cycles in one NTP interval | 61 | * @cycle_interval: Number of clock cycles in one NTP interval |
61 | * @xtime_interval: Number of clock shifted nano seconds in one NTP | 62 | * @xtime_interval: Number of clock shifted nano seconds in one NTP |
62 | * interval. | 63 | * interval. |
@@ -84,6 +85,9 @@ struct tk_read_base { | |||
84 | * | 85 | * |
85 | * wall_to_monotonic is no longer the boot time, getboottime must be | 86 | * wall_to_monotonic is no longer the boot time, getboottime must be |
86 | * used instead. | 87 | * used instead. |
88 | * | ||
89 | * @monotonic_to_boottime is a timespec64 representation of @offs_boot to | ||
90 | * accelerate the VDSO update for CLOCK_BOOTTIME. | ||
87 | */ | 91 | */ |
88 | struct timekeeper { | 92 | struct timekeeper { |
89 | struct tk_read_base tkr_mono; | 93 | struct tk_read_base tkr_mono; |
@@ -99,6 +103,7 @@ struct timekeeper { | |||
99 | u8 cs_was_changed_seq; | 103 | u8 cs_was_changed_seq; |
100 | ktime_t next_leap_ktime; | 104 | ktime_t next_leap_ktime; |
101 | u64 raw_sec; | 105 | u64 raw_sec; |
106 | struct timespec64 monotonic_to_boot; | ||
102 | 107 | ||
103 | /* The following members are for timekeeping internal use */ | 108 | /* The following members are for timekeeping internal use */ |
104 | u64 cycle_interval; | 109 | u64 cycle_interval; |