Commit daccbf3
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>
(cherry picked from commit 2e521a2)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent d83c8b4 commit daccbf3
2 files changed
Lines changed: 37 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
1046 | 1048 | | |
1047 | 1049 | | |
1048 | 1050 | | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | 1051 | | |
1070 | 1052 | | |
1071 | 1053 | | |
| |||
1529 | 1511 | | |
1530 | 1512 | | |
1531 | 1513 | | |
1532 | | - | |
| 1514 | + | |
1533 | 1515 | | |
1534 | 1516 | | |
1535 | 1517 | | |
| |||
1599 | 1581 | | |
1600 | 1582 | | |
1601 | 1583 | | |
1602 | | - | |
| 1584 | + | |
1603 | 1585 | | |
1604 | 1586 | | |
1605 | 1587 | | |
| |||
1671 | 1653 | | |
1672 | 1654 | | |
1673 | 1655 | | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
1677 | 1659 | | |
1678 | 1660 | | |
1679 | 1661 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments