Add wait4() back to the set of <asm-generic/unistd.h> syscalls.
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 25 Jun 2010 18:54:16 +0000 (14:54 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 25 Jun 2010 18:54:16 +0000 (14:54 -0400)
commitb51cae21ee66f77a368428e6bdf75a0c012c9fd7
treefc0a399f7ab10f7a799fdc8e7829b79033e7ae6e
parent9c78965ca18594fe0a34a1a1b13781b10f85e4bc
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>
include/asm-generic/unistd.h
scripts/checksyscalls.sh