diff options
author | Dominik Brodowski <[email protected]> | 2018-03-11 11:34:26 +0100 |
---|---|---|
committer | Dominik Brodowski <[email protected]> | 2018-04-02 20:14:51 +0200 |
commit | d300b610812f3c10d146db4c18f98eba38834c70 (patch) | |
tree | 6d94625d00a319d89fc8b9b6be6fd606a2c9a1d0 /lib/mpi/mpi-bit.c | |
parent | 819671ff849b07b9831b91de879ddc5da4b333d4 (diff) |
kernel: use kernel_wait4() instead of sys_wait4()
All call sites of sys_wait4() set *rusage to NULL. Therefore, there is
no need for the copy_to_user() handling of *rusage, and we can use
kernel_wait4() directly.
This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/[email protected]
Acked-by: Luis R. Rodriguez <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions