summaryrefslogtreecommitdiff
path: root/io_uring/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-02-01 00:19:11 +0300
committerJens Axboe <axboe@kernel.dk>2025-02-20 17:59:56 +0300
commit0fb3f5600c5e583a1cf9dbe803ba7ef89f7fbc65 (patch)
treea227866f811e35774feced3d924dc5b5ea6075df /io_uring/Makefile
parent08b40b7a1051114f41cdec0bba4548b87cc2a3f6 (diff)
downloadlinux-0fb3f5600c5e583a1cf9dbe803ba7ef89f7fbc65.tar.xz
io_uring/epoll: remove CONFIG_EPOLL guards
Just have the Makefile add the object if epoll is enabled, then it's not necessary to guard the entire epoll.c file inside an CONFIG_EPOLL ifdef. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/Makefile')
-rw-r--r--io_uring/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/io_uring/Makefile b/io_uring/Makefile
index 98e48339d84d..3e28a741ca15 100644
--- a/io_uring/Makefile
+++ b/io_uring/Makefile
@@ -11,10 +11,11 @@ obj-$(CONFIG_IO_URING) += io_uring.o opdef.o kbuf.o rsrc.o notif.o \
eventfd.o uring_cmd.o openclose.o \
sqpoll.o xattr.o nop.o fs.o splice.o \
sync.o msg_ring.o advise.o openclose.o \
- epoll.o statx.o timeout.o fdinfo.o \
- cancel.o waitid.o register.o \
- truncate.o memmap.o alloc_cache.o
+ statx.o timeout.o fdinfo.o cancel.o \
+ waitid.o register.o truncate.o \
+ memmap.o alloc_cache.o
obj-$(CONFIG_IO_URING_ZCRX) += zcrx.o
obj-$(CONFIG_IO_WQ) += io-wq.o
obj-$(CONFIG_FUTEX) += futex.o
-obj-$(CONFIG_NET_RX_BUSY_POLL) += napi.o
+obj-$(CONFIG_EPOLL) += epoll.o
+obj-$(CONFIG_NET_RX_BUSY_POLL) += napi.o