summaryrefslogtreecommitdiff
path: root/io_uring/memmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/memmap.h')
-rw-r--r--io_uring/memmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_uring/memmap.h b/io_uring/memmap.h
index dad0aa5b1b457..24afb298e974d 100644
--- a/io_uring/memmap.h
+++ b/io_uring/memmap.h
@@ -4,6 +4,8 @@
#define IORING_MAP_OFF_PARAM_REGION 0x20000000ULL
#define IORING_MAP_OFF_ZCRX_REGION 0x30000000ULL
+#define IORING_OFF_ZCRX_SHIFT 16
+
struct page **io_pin_pages(unsigned long ubuf, unsigned long len, int *npages);
#ifndef CONFIG_MMU