diff options
-rw-r--r-- | include/linux/timekeeping.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h index 91480137aa39..3eaae4754275 100644 --- a/include/linux/timekeeping.h +++ b/include/linux/timekeeping.h | |||
@@ -229,6 +229,11 @@ static inline void get_monotonic_boottime(struct timespec *ts) | |||
229 | *ts = ktime_to_timespec(ktime_get_boottime()); | 229 | *ts = ktime_to_timespec(ktime_get_boottime()); |
230 | } | 230 | } |
231 | 231 | ||
232 | static inline void get_monotonic_boottime64(struct timespec64 *ts) | ||
233 | { | ||
234 | *ts = ktime_to_timespec64(ktime_get_boottime()); | ||
235 | } | ||
236 | |||
232 | static inline void timekeeping_clocktai(struct timespec *ts) | 237 | static inline void timekeeping_clocktai(struct timespec *ts) |
233 | { | 238 | { |
234 | *ts = ktime_to_timespec(ktime_get_clocktai()); | 239 | *ts = ktime_to_timespec(ktime_get_clocktai()); |