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>
Mon, 11 Sep 2023 15:41:24 +0000 (09:41 -0600)
commitc61ab01362972e9b40f217d44ab7933e3bb86634
tree32bdecdbc605fbba737719d4af05fcdffa25d965
parentd69ad44b6992f4c84e3b403727c33cb659452ca1
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]