summaryrefslogtreecommitdiffstats
path: root/io_uring/epoll.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--io_uring/epoll.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/io_uring/epoll.h b/io_uring/epoll.h
new file mode 100644
index 000000000..870cce11b
--- /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