diff options
-rw-r--r-- | include/asm-generic/unistd.h | 9 | ||||
-rwxr-xr-x | scripts/checksyscalls.sh | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index 30218b4fa4e0..c17cebc49952 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h | |||
@@ -638,8 +638,11 @@ __SYSCALL(__NR_recvmmsg, sys_recvmmsg) | |||
638 | */ | 638 | */ |
639 | #define __NR_arch_specific_syscall 244 | 639 | #define __NR_arch_specific_syscall 244 |
640 | 640 | ||
641 | #define __NR_wait4 260 | ||
642 | __SYSCALL(__NR_wait4, sys_wait4) | ||
643 | |||
641 | #undef __NR_syscalls | 644 | #undef __NR_syscalls |
642 | #define __NR_syscalls 260 | 645 | #define __NR_syscalls 261 |
643 | 646 | ||
644 | /* | 647 | /* |
645 | * All syscalls below here should go away really, | 648 | * All syscalls below here should go away really, |
@@ -776,8 +779,8 @@ __SYSCALL(__NR_epoll_wait, sys_epoll_wait) | |||
776 | __SYSCALL(__NR_ustat, sys_ustat) | 779 | __SYSCALL(__NR_ustat, sys_ustat) |
777 | #define __NR_vfork 1071 | 780 | #define __NR_vfork 1071 |
778 | __SYSCALL(__NR_vfork, sys_vfork) | 781 | __SYSCALL(__NR_vfork, sys_vfork) |
779 | #define __NR_wait4 1072 | 782 | #define __NR_oldwait4 1072 |
780 | __SYSCALL(__NR_wait4, sys_wait4) | 783 | __SYSCALL(__NR_oldwait4, sys_wait4) |
781 | #define __NR_recv 1073 | 784 | #define __NR_recv 1073 |
782 | __SYSCALL(__NR_recv, sys_recv) | 785 | __SYSCALL(__NR_recv, sys_recv) |
783 | #define __NR_send 1074 | 786 | #define __NR_send 1074 |
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 66ad375612f2..6bb42e72e0e5 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh | |||
@@ -183,7 +183,6 @@ cat << EOF | |||
183 | #define __IGNORE_ustat /* statfs */ | 183 | #define __IGNORE_ustat /* statfs */ |
184 | #define __IGNORE_utime /* utimes */ | 184 | #define __IGNORE_utime /* utimes */ |
185 | #define __IGNORE_vfork /* clone */ | 185 | #define __IGNORE_vfork /* clone */ |
186 | #define __IGNORE_wait4 /* waitid */ | ||
187 | 186 | ||
188 | /* sync_file_range had a stupid ABI. Allow sync_file_range2 instead */ | 187 | /* sync_file_range had a stupid ABI. Allow sync_file_range2 instead */ |
189 | #ifdef __NR_sync_file_range2 | 188 | #ifdef __NR_sync_file_range2 |