OSDN Git Service

Merge branch 'fortglx/4.15/time' of https://git.linaro.org/people/john.stultz/linux...
authorThomas Gleixner <tglx@linutronix.de>
Tue, 31 Oct 2017 22:17:28 +0000 (23:17 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 31 Oct 2017 22:17:28 +0000 (23:17 +0100)
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.

1  2 
include/linux/timekeeping.h
kernel/time/time.c
kernel/time/timekeeping.c

@@@ -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());
Simple merge
Simple merge