summaryrefslogtreecommitdiffstats
path: root/io_uring/epoll.h
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/epoll.h')
-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 0000000000..870cce11ba
--- /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