time: Add y2038 safe read_persistent_clock64()
[firefly-linux-kernel-4.4.55.git] / include / linux / timekeeping.h
index 18d27a3f72ca00b357d90f43ba94d993760a551f..4c0f76f4616c78f299e79ae765817ef40a217f5c 100644 (file)
@@ -268,6 +268,7 @@ static inline bool has_persistent_clock(void)
 }
 
 extern void read_persistent_clock(struct timespec *ts);
+extern void read_persistent_clock64(struct timespec64 *ts);
 extern void read_boot_clock(struct timespec *ts);
 extern void read_boot_clock64(struct timespec64 *ts);
 extern int update_persistent_clock(struct timespec now);