X-Git-Url: https://git.codelabs.ch/?p=muen%2Flinux.git;a=blobdiff_plain;f=include%2Flinux%2Ftimekeeping.h;h=5d738804e3d6241dae4961c93324efbdd4f5aaea;hp=947b1b8d2d0174f5c6e36ff57c55f467d9b5b335;hb=e6ecec342fefc2df01438cb0b8bacdd8641a6418;hpb=3d83d3188460bf97afa0ac9895265422411e473a;ds=sidebyside diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h index 947b1b8d2d01..5d738804e3d6 100644 --- a/include/linux/timekeeping.h +++ b/include/linux/timekeeping.h @@ -192,7 +192,7 @@ static inline time64_t ktime_get_clocktai_seconds(void) extern bool timekeeping_rtc_skipsuspend(void); extern bool timekeeping_rtc_skipresume(void); -extern void timekeeping_inject_sleeptime64(struct timespec64 *delta); +extern void timekeeping_inject_sleeptime64(const struct timespec64 *delta); /* * struct system_time_snapshot - simultaneous raw/real time capture with @@ -258,7 +258,8 @@ extern void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot); extern int persistent_clock_is_local; extern void read_persistent_clock64(struct timespec64 *ts); -extern void read_boot_clock64(struct timespec64 *ts); +void read_persistent_clock_and_boot_offset(struct timespec64 *wall_clock, + struct timespec64 *boot_offset); extern int update_persistent_clock64(struct timespec64 now); /*