From: Thomas Gleixner Date: Tue, 31 Oct 2017 22:17:28 +0000 (+0100) Subject: Merge branch 'fortglx/4.15/time' of https://git.linaro.org/people/john.stultz/linux... X-Git-Tag: v4.15-rc1~151^2~10 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fb56d689fb1c8f13d4d7168abf3838657b042885;p=uclinux-h8%2Flinux.git Merge branch 'fortglx/4.15/time' of https://git.linaro.org/people/john.stultz/linux into timers/core Pull timekeeping updates from John Stultz: - More y2038 work from Arnd Bergmann - A new mechanism to allow RTC drivers to specify the resolution of the RTC so the suspend/resume code can make informed decisions whether to inject the suspended time or not in case of fast suspend/resume cycles. --- fb56d689fb1c8f13d4d7168abf3838657b042885 diff --cc include/linux/timekeeping.h index eb98cbdbb323,405beea4e71b..2263698edeaf --- a/include/linux/timekeeping.h +++ b/include/linux/timekeeping.h @@@ -239,16 -118,10 +118,11 @@@ static inline u64 ktime_get_raw_ns(void extern u64 ktime_get_mono_fast_ns(void); extern u64 ktime_get_raw_fast_ns(void); extern u64 ktime_get_boot_fast_ns(void); +extern u64 ktime_get_real_fast_ns(void); /* - * Timespec interfaces utilizing the ktime based ones + * timespec64 interfaces utilizing the ktime based ones */ - static inline void get_monotonic_boottime(struct timespec *ts) - { - *ts = ktime_to_timespec(ktime_get_boottime()); - } - static inline void get_monotonic_boottime64(struct timespec64 *ts) { *ts = ktime_to_timespec64(ktime_get_boottime());