aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/time.h')
-rw-r--r--include/linux/time.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index 38c5206c2673..7c44e7778033 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -145,8 +145,9 @@ static inline u32 arch_gettimeoffset(void) { return 0; }
145#endif 145#endif
146 146
147extern void do_gettimeofday(struct timeval *tv); 147extern void do_gettimeofday(struct timeval *tv);
148extern int do_settimeofday(struct timespec *tv); 148extern int do_settimeofday(const struct timespec *tv);
149extern int do_sys_settimeofday(struct timespec *tv, struct timezone *tz); 149extern int do_sys_settimeofday(const struct timespec *tv,
150 const struct timezone *tz);
150#define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts) 151#define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts)
151extern long do_utimes(int dfd, const char __user *filename, struct timespec *times, int flags); 152extern long do_utimes(int dfd, const char __user *filename, struct timespec *times, int flags);
152struct itimerval; 153struct itimerval;