aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2022-12-30 09:49:08 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2023-01-16 18:11:52 +0000
commitc0c1c599c0ca7e8a15509503991f8cd97c292bea (patch)
tree7a63a880912176ef91f59a4910bae4ecbb033b5b
parent591e29117964248d4bfea639e973a12e27f96ac9 (diff)
downloadsrc-c0c1c599c0ca7e8a15509503991f8cd97c292bea.tar.gz
src-c0c1c599c0ca7e8a15509503991f8cd97c292bea.zip
linuxkpi: Define `GFP_NOFS` in `linux/gfp.h`
Reviewed by: emaste, manu Approved by: emaste, manu Differential Revision: https://reviews.freebsd.org/D37910
-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 a2930b44b0c4..55558500dd30 100644
--- a/sys/compat/linuxkpi/common/include/linux/gfp.h
+++ b/sys/compat/linuxkpi/common/include/linux/gfp.h
@@ -72,6 +72,7 @@
#define GFP_HIGHUSER_MOVABLE M_WAITOK
#define GFP_IOFS M_NOWAIT
#define GFP_NOIO M_NOWAIT
+#define GFP_NOFS M_NOWAIT
#define GFP_DMA32 __GFP_DMA32
#define GFP_TEMPORARY M_NOWAIT
#define GFP_NATIVE_MASK (M_NOWAIT | M_WAITOK | M_USE_RESERVE | M_ZERO)