]> Git Repo - J-linux.git/blob - tools/include/linux/gfp.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / tools / include / linux / gfp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _TOOLS_INCLUDE_LINUX_GFP_H
3 #define _TOOLS_INCLUDE_LINUX_GFP_H
4
5 #include <linux/types.h>
6 #include <linux/gfp_types.h>
7
8 static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags)
9 {
10         return !!(gfp_flags & __GFP_DIRECT_RECLAIM);
11 }
12
13 #endif /* _TOOLS_INCLUDE_LINUX_GFP_H */
This page took 0.024962 seconds and 4 git commands to generate.