diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/unistd.h | 3 | ||||
| -rw-r--r-- | include/asm-x86_64/unistd.h | 2 | ||||
| -rw-r--r-- | include/linux/stat.h | 3 | ||||
| -rw-r--r-- | include/linux/time.h | 2 |
4 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index 833fa1704ff9..bd21e795197c 100644 --- a/include/asm-i386/unistd.h +++ b/include/asm-i386/unistd.h | |||
| @@ -325,10 +325,11 @@ | |||
| 325 | #define __NR_move_pages 317 | 325 | #define __NR_move_pages 317 |
| 326 | #define __NR_getcpu 318 | 326 | #define __NR_getcpu 318 |
| 327 | #define __NR_epoll_pwait 319 | 327 | #define __NR_epoll_pwait 319 |
| 328 | #define __NR_utimensat 320 | ||
| 328 | 329 | ||
| 329 | #ifdef __KERNEL__ | 330 | #ifdef __KERNEL__ |
| 330 | 331 | ||
| 331 | #define NR_syscalls 320 | 332 | #define NR_syscalls 321 |
| 332 | 333 | ||
| 333 | #define __ARCH_WANT_IPC_PARSE_VERSION | 334 | #define __ARCH_WANT_IPC_PARSE_VERSION |
| 334 | #define __ARCH_WANT_OLD_READDIR | 335 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h index 26e23e01c54a..595703949df3 100644 --- a/include/asm-x86_64/unistd.h +++ b/include/asm-x86_64/unistd.h | |||
| @@ -619,6 +619,8 @@ __SYSCALL(__NR_sync_file_range, sys_sync_file_range) | |||
| 619 | __SYSCALL(__NR_vmsplice, sys_vmsplice) | 619 | __SYSCALL(__NR_vmsplice, sys_vmsplice) |
| 620 | #define __NR_move_pages 279 | 620 | #define __NR_move_pages 279 |
| 621 | __SYSCALL(__NR_move_pages, sys_move_pages) | 621 | __SYSCALL(__NR_move_pages, sys_move_pages) |
| 622 | #define __NR_utimensat 280 | ||
| 623 | __SYSCALL(__NR_utimensat, sys_utimensat) | ||
| 622 | 624 | ||
| 623 | #ifndef __NO_STUBS | 625 | #ifndef __NO_STUBS |
| 624 | #define __ARCH_WANT_OLD_READDIR | 626 | #define __ARCH_WANT_OLD_READDIR |
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); |
