1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_COMPAT_TIME_H
3 #define _LINUX_COMPAT_TIME_H
5 #include <linux/types.h>
6 #include <linux/time64.h>
8 typedef s32 compat_time_t;
10 struct compat_timespec {
15 struct compat_timeval {
20 extern int compat_get_timespec64(struct timespec64 *, const void __user *);
21 extern int compat_put_timespec64(const struct timespec64 *, void __user *);
23 #endif /* _LINUX_COMPAT_TIME_H */