Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-src.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2022-11-11 20:30:31 +0300
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2022-11-11 20:30:31 +0300
commitbfe6bfd79e05041f0b3ca2ca2f18405f5c4a6484 (patch)
treef09dcd5e1c247411227c7ff5df5bef07d3ea7d08
parentf0d1225734519a74e04b482fe54ae33d08627bcd (diff)
linuxkpi: Add `__GFP_NOMEMALLOC` kmalloc flag
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D36954
-rw-r--r--sys/compat/linuxkpi/common/include/linux/gfp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h
index 6273fa969db8..63b23b4b637e 100644
--- a/sys/compat/linuxkpi/common/include/linux/gfp.h
+++ b/sys/compat/linuxkpi/common/include/linux/gfp.h
@@ -47,6 +47,7 @@
#define __GFP_HIGHMEM 0
#define __GFP_ZERO M_ZERO
#define __GFP_NORETRY 0
+#define __GFP_NOMEMALLOC 0
#define __GFP_RECLAIM 0
#define __GFP_RECLAIMABLE 0
#define __GFP_RETRY_MAYFAIL 0