diff options
author | Ben Widawsky <bwidawsk@FreeBSD.org> | 2018-11-01 15:30:01 +0000 |
---|---|---|
committer | Ben Widawsky <bwidawsk@FreeBSD.org> | 2018-11-01 15:30:01 +0000 |
commit | 3d40cdf0149a93ec3794531b46d1bb6b0051c268 (patch) | |
tree | bc3c12351d3aaa07a046da57a8571f3518081a5c /sys/compat | |
parent | 881a9516a2f7b50ea5cda69b23c4860b205396e7 (diff) | |
download | src-3d40cdf0149a93ec3794531b46d1bb6b0051c268.tar.gz src-3d40cdf0149a93ec3794531b46d1bb6b0051c268.zip |
linuxkpi: Add GFP flags needed for ttm drivers
Submitted by: Johannes Lundberg <johalun0@gmail.com>
Requested by: bwidawsk
MFC after: 3 days
Approved by: emaste (mentor)
Notes
Notes:
svn path=/head/; revision=340000
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/gfp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h index 5d6d4da3515a..a20e3606ca05 100644 --- a/sys/compat/linuxkpi/common/include/linux/gfp.h +++ b/sys/compat/linuxkpi/common/include/linux/gfp.h @@ -52,6 +52,7 @@ #define __GFP_RETRY_MAYFAIL 0 #define __GFP_MOVABLE 0 #define __GFP_COMP 0 +#define __GFP_KSWAPD_RECLAIM 0 #define __GFP_IO 0 #define __GFP_NO_KSWAPD 0 @@ -73,6 +74,7 @@ #define GFP_TEMPORARY M_NOWAIT #define GFP_NATIVE_MASK (M_NOWAIT | M_WAITOK | M_USE_RESERVE | M_ZERO) #define GFP_TRANSHUGE 0 +#define GFP_TRANSHUGE_LIGHT 0 CTASSERT((__GFP_DMA32 & GFP_NATIVE_MASK) == 0); CTASSERT((__GFP_BITS_MASK & GFP_NATIVE_MASK) == GFP_NATIVE_MASK); |