|
@@ -113,8 +113,6 @@ static inline struct timespec timespec_sub(struct timespec lhs,
|
|
#define timespec_valid(ts) \
|
|
#define timespec_valid(ts) \
|
|
(((ts)->tv_sec >= 0) && (((unsigned long) (ts)->tv_nsec) < NSEC_PER_SEC))
|
|
(((ts)->tv_sec >= 0) && (((unsigned long) (ts)->tv_nsec) < NSEC_PER_SEC))
|
|
|
|
|
|
-extern seqlock_t xtime_lock;
|
|
|
|
-
|
|
|
|
extern void read_persistent_clock(struct timespec *ts);
|
|
extern void read_persistent_clock(struct timespec *ts);
|
|
extern void read_boot_clock(struct timespec *ts);
|
|
extern void read_boot_clock(struct timespec *ts);
|
|
extern int update_persistent_clock(struct timespec now);
|
|
extern int update_persistent_clock(struct timespec now);
|