Date: Thu, 1 Nov 2018 15:30:01 +0000 (UTC) From: Ben Widawsky <bwidawsk@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340000 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201811011530.wA1FU13F014797@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bwidawsk Date: Thu Nov 1 15:30:01 2018 New Revision: 340000 URL: https://svnweb.freebsd.org/changeset/base/340000 Log: 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) Modified: head/sys/compat/linuxkpi/common/include/linux/gfp.h Modified: head/sys/compat/linuxkpi/common/include/linux/gfp.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/gfp.h Thu Nov 1 15:27:22 2018 (r339999) +++ head/sys/compat/linuxkpi/common/include/linux/gfp.h Thu Nov 1 15:30:01 2018 (r340000) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811011530.wA1FU13F014797>