diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/timekeeping.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h index 7a2369d5b3f4..99176af216af 100644 --- a/include/linux/timekeeping.h +++ b/include/linux/timekeeping.h | |||
| @@ -248,6 +248,9 @@ static inline void timekeeping_clocktai(struct timespec *ts) | |||
| 248 | /* | 248 | /* |
| 249 | * RTC specific | 249 | * RTC specific |
| 250 | */ | 250 | */ |
| 251 | extern bool timekeeping_rtc_skipsuspend(void); | ||
| 252 | extern bool timekeeping_rtc_skipresume(void); | ||
| 253 | |||
| 251 | extern void timekeeping_inject_sleeptime64(struct timespec64 *delta); | 254 | extern void timekeeping_inject_sleeptime64(struct timespec64 *delta); |
| 252 | 255 | ||
| 253 | /* | 256 | /* |
| @@ -259,14 +262,8 @@ extern void getnstime_raw_and_real(struct timespec *ts_raw, | |||
| 259 | /* | 262 | /* |
| 260 | * Persistent clock related interfaces | 263 | * Persistent clock related interfaces |
| 261 | */ | 264 | */ |
| 262 | extern bool persistent_clock_exist; | ||
| 263 | extern int persistent_clock_is_local; | 265 | extern int persistent_clock_is_local; |
| 264 | 266 | ||
| 265 | static inline bool has_persistent_clock(void) | ||
| 266 | { | ||
| 267 | return persistent_clock_exist; | ||
| 268 | } | ||
| 269 | |||
| 270 | extern void read_persistent_clock(struct timespec *ts); | 267 | extern void read_persistent_clock(struct timespec *ts); |
| 271 | extern void read_persistent_clock64(struct timespec64 *ts); | 268 | extern void read_persistent_clock64(struct timespec64 *ts); |
| 272 | extern void read_boot_clock(struct timespec *ts); | 269 | extern void read_boot_clock(struct timespec *ts); |
