summaryrefslogtreecommitdiff
path: root/io_uring/kbuf.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-27 14:59:09 -0600
committerJens Axboe <axboe@kernel.dk>2024-04-15 08:10:26 -0600
commitf15ed8b4d0ce2c0831232ff85117418740f0c529 (patch)
treea88a7221f61e7ef6cd6dfae2624a0604dc9e285b /io_uring/kbuf.c
parent18595c0a58ae29ac6a996c5b664610119b73182d (diff)
downloadlwn-f15ed8b4d0ce2c0831232ff85117418740f0c529.tar.gz
lwn-f15ed8b4d0ce2c0831232ff85117418740f0c529.zip
io_uring: move mapping/allocation helpers to a separate file
Move the related code from io_uring.c into memmap.c. No functional changes in this patch, just cleaning it up a bit now that the full transition is done. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/kbuf.c')
-rw-r--r--io_uring/kbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c
index 10d5c98c1c56..896770e93980 100644
--- a/io_uring/kbuf.c
+++ b/io_uring/kbuf.c
@@ -15,6 +15,7 @@
#include "io_uring.h"
#include "opdef.h"
#include "kbuf.h"
+#include "memmap.h"
#define IO_BUFFER_LIST_BUF_PER_PAGE (PAGE_SIZE / sizeof(struct io_uring_buf))