diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-06-25 14:54:16 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-06-25 14:54:16 -0400 |
commit | b51cae21ee66f77a368428e6bdf75a0c012c9fd7 (patch) | |
tree | fc0a399f7ab10f7a799fdc8e7829b79033e7ae6e /scripts | |
parent | 9c78965ca18594fe0a34a1a1b13781b10f85e4bc (diff) | |
download | linux-b51cae21ee66f77a368428e6bdf75a0c012c9fd7.tar.gz linux-b51cae21ee66f77a368428e6bdf75a0c012c9fd7.tar.bz2 linux-b51cae21ee66f77a368428e6bdf75a0c012c9fd7.zip |
Add wait4() back to the set of <asm-generic/unistd.h> syscalls.
The initial pass at the generic ABI assumed that wait4() could be
easily expressed using waitid(). Although it's true that wait4()
can be built on waitid(), it's awkward enough that it makes more
sense to continue to include wait4 in the generic syscall ABI.
Since there is already a deprecated wait4 in the ABI, this change
converts that wait4 into old_wait, and puts wait4 in the next
available slot for new supported syscalls, after the platform-specific
syscalls at number 260.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checksyscalls.sh | 1 |
1 files changed, 0 insertions, 1 deletions
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 #define __IGNORE_ustat /* statfs */ #define __IGNORE_utime /* utimes */ #define __IGNORE_vfork /* clone */ -#define __IGNORE_wait4 /* waitid */ /* sync_file_range had a stupid ABI. Allow sync_file_range2 instead */ #ifdef __NR_sync_file_range2 |