diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-25 15:09:18 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 03:39:11 +0300 |
commit | a9c210cebe13c36487a239ae7f4671a389fed127 (patch) | |
tree | 3aef4833aa165b8cee9e2251043d259466309da5 /io_uring/epoll.h | |
parent | 4cf90495281b43f5f597ef4a9abcc83a63973571 (diff) | |
download | linux-a9c210cebe13c36487a239ae7f4671a389fed127.tar.xz |
io_uring: move epoll handler to its own file
Would be nice to sort out Kconfig for this and don't even compile
epoll.c if we don't have epoll configured.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/epoll.h')
-rw-r--r-- | io_uring/epoll.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/io_uring/epoll.h b/io_uring/epoll.h new file mode 100644 index 000000000000..870cce11ba98 --- /dev/null +++ b/io_uring/epoll.h @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 + +#if defined(CONFIG_EPOLL) +int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_epoll_ctl(struct io_kiocb *req, unsigned int issue_flags); +#endif |