exit: add internal include file with helpers
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Jul 2023 16:40:31 +0000 (10:40 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Sep 2023 16:33:09 +0000 (10:33 -0600)
commit330894f93defd40f66edcc02e3dc012698e99dd5
treeea1703637b1ebfefc060427c61b7ff863cb3e280
parent14b5b1b4b43df5754b31cbda847b78a9f13b592b
exit: add internal include file with helpers

Move struct wait_opts and waitid_info into kernel/exit.h, and include
function declarations for the recently added helpers. Make them
non-static as well.

This is in preparation for adding a waitid operation through io_uring.
With the abtracted helpers, this is now possible.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/exit.c
kernel/exit.h [new file with mode: 0644]