diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/stat.h | 3 | ||||
-rw-r--r-- | include/linux/time.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h index 679ef0d70b6b..611c398dab72 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h | |||
@@ -53,6 +53,9 @@ | |||
53 | #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) | 53 | #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) |
54 | #define S_IXUGO (S_IXUSR|S_IXGRP|S_IXOTH) | 54 | #define S_IXUGO (S_IXUSR|S_IXGRP|S_IXOTH) |
55 | 55 | ||
56 | #define UTIME_NOW ((1l << 30) - 1l) | ||
57 | #define UTIME_OMIT ((1l << 30) - 2l) | ||
58 | |||
56 | #include <linux/types.h> | 59 | #include <linux/types.h> |
57 | #include <linux/time.h> | 60 | #include <linux/time.h> |
58 | 61 | ||
diff --git a/include/linux/time.h b/include/linux/time.h index 50e31b1659a7..dda9be685ab6 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
@@ -109,7 +109,7 @@ extern void do_gettimeofday(struct timeval *tv); | |||
109 | extern int do_settimeofday(struct timespec *tv); | 109 | extern int do_settimeofday(struct timespec *tv); |
110 | extern int do_sys_settimeofday(struct timespec *tv, struct timezone *tz); | 110 | extern int do_sys_settimeofday(struct timespec *tv, struct timezone *tz); |
111 | #define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts) | 111 | #define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts) |
112 | extern long do_utimes(int dfd, char __user *filename, struct timeval *times); | 112 | extern long do_utimes(int dfd, char __user *filename, struct timespec *times, int flags); |
113 | struct itimerval; | 113 | struct itimerval; |
114 | extern int do_setitimer(int which, struct itimerval *value, | 114 | extern int do_setitimer(int which, struct itimerval *value, |
115 | struct itimerval *ovalue); | 115 | struct itimerval *ovalue); |