diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2025-05-09 12:03:28 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-05-09 07:58:47 -0600 |
| commit | 28b8cd864da516ea87162015e490b1dea444888f (patch) | |
| tree | 9f79d12383607c1799b0bf9127fb984c51135814 /io_uring/Makefile | |
| parent | 6ae4308116f1033ceb11b419c01e9c5f17a35633 (diff) | |
| download | linux-28b8cd864da516ea87162015e490b1dea444888f.tar.gz linux-28b8cd864da516ea87162015e490b1dea444888f.tar.bz2 linux-28b8cd864da516ea87162015e490b1dea444888f.zip | |
io_uring/net: move CONFIG_NET guards to Makefile
Instruct Makefile to never try to compile net.c without CONFIG_NET and
kill ifdefs in the file.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f466400e20c3f536191bfd559b1f3cd2a2ab5a1e.1746788579.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/Makefile')
| -rw-r--r-- | io_uring/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_uring/Makefile b/io_uring/Makefile index 75e0ca795685..11a739927a62 100644 --- a/io_uring/Makefile +++ b/io_uring/Makefile @@ -7,7 +7,7 @@ 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 \ + tctx.o filetable.o rw.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 \ @@ -19,4 +19,4 @@ obj-$(CONFIG_IO_WQ) += io-wq.o obj-$(CONFIG_FUTEX) += futex.o obj-$(CONFIG_EPOLL) += epoll.o obj-$(CONFIG_NET_RX_BUSY_POLL) += napi.o -obj-$(CONFIG_NET) += cmd_net.o +obj-$(CONFIG_NET) += net.o cmd_net.o |
