Files
Jeff Moyer 83aba275d9 io_uring/fdinfo: only compile if CONFIG_PROC_FS is set
JIRA: https://issues.redhat.com/browse/RHEL-140845
Conflicts: Makefile conflicts due to missing features in RHEL.

commit 9a109266278f200ae0b64508273fea3db8af7a9e
Author: Jens Axboe <axboe@kernel.dk>
Date:   Fri May 16 12:10:12 2025 -0600

    io_uring/fdinfo: only compile if CONFIG_PROC_FS is set
    
    Rather than wrap fdinfo.c in one big if, handle it on the Makefile
    side instead. io_uring.c already conditionally sets fops->fdinfo()
    anyway.
    
    Signed-off-by: Jens Axboe <axboe@kernel.dk>

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
2026-01-16 06:20:53 -05:00

21 lines
611 B
Makefile

# SPDX-License-Identifier: GPL-2.0
#
# Makefile for io_uring
ifdef CONFIG_GCOV_PROFILE_URING
GCOV_PROFILE := y
endif
obj-$(CONFIG_IO_URING) += io_uring.o opdef.o kbuf.o rsrc.o notif.o \
tctx.o filetable.o rw.o net.o poll.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 \
cancel.o waitid.o register.o \
truncate.o memmap.o alloc_cache.o
obj-$(CONFIG_IO_WQ) += io-wq.o
obj-$(CONFIG_FUTEX) += futex.o
obj-$(CONFIG_NET_RX_BUSY_POLL) += napi.o
obj-$(CONFIG_PROC_FS) += fdinfo.o