drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / tools / include / linux / gfp.h
blob6a10ff5f5be9070cce7130e62f723e4ecb0a1994
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _TOOLS_INCLUDE_LINUX_GFP_H
3 #define _TOOLS_INCLUDE_LINUX_GFP_H
5 #include <linux/types.h>
6 #include <linux/gfp_types.h>
8 static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags)
10 return !!(gfp_flags & __GFP_DIRECT_RECLAIM);
13 #endif /* _TOOLS_INCLUDE_LINUX_GFP_H */