aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compat_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compat_time.h')
-rw-r--r--include/linux/compat_time.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/compat_time.h b/include/linux/compat_time.h
index 31f2774f1994..e70bfd1d2c3f 100644
--- a/include/linux/compat_time.h
+++ b/include/linux/compat_time.h
@@ -17,7 +17,16 @@ struct compat_timeval {
17 s32 tv_usec; 17 s32 tv_usec;
18}; 18};
19 19
20struct compat_itimerspec {
21 struct compat_timespec it_interval;
22 struct compat_timespec it_value;
23};
24
20extern int compat_get_timespec64(struct timespec64 *, const void __user *); 25extern int compat_get_timespec64(struct timespec64 *, const void __user *);
21extern int compat_put_timespec64(const struct timespec64 *, void __user *); 26extern int compat_put_timespec64(const struct timespec64 *, void __user *);
27extern int get_compat_itimerspec64(struct itimerspec64 *its,
28 const struct compat_itimerspec __user *uits);
29extern int put_compat_itimerspec64(const struct itimerspec64 *its,
30 struct compat_itimerspec __user *uits);
22 31
23#endif /* _LINUX_COMPAT_TIME_H */ 32#endif /* _LINUX_COMPAT_TIME_H */