Commit d0783e1f authored by Namhyung Kim's avatar Namhyung Kim
Browse files

tools headers: Sync linux/gfp_types.h with kernel sources



To pick up changes from:

  4c0a17e2 ("slab: prevent recursive kmalloc() in alloc_empty_sheaf()")

This would be used to handle GFP masks in the perf code and address these
tools/perf build warnings:

  Warning: Kernel ABI header differences:
    diff -u tools/include/linux/gfp_types.h include/linux/gfp_types.h

Please see tools/include/uapi/README.

Acked-by: default avatarSeongJae Park <sj@kernel.org>
Cc: linux-mm@kvack.org
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 0d5d3bb6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -55,9 +55,7 @@ enum {
#ifdef CONFIG_LOCKDEP
	___GFP_NOLOCKDEP_BIT,
#endif
#ifdef CONFIG_SLAB_OBJ_EXT
	___GFP_NO_OBJ_EXT_BIT,
#endif
	___GFP_LAST_BIT
};

@@ -98,11 +96,7 @@ enum {
#else
#define ___GFP_NOLOCKDEP	0
#endif
#ifdef CONFIG_SLAB_OBJ_EXT
#define ___GFP_NO_OBJ_EXT       BIT(___GFP_NO_OBJ_EXT_BIT)
#else
#define ___GFP_NO_OBJ_EXT       0
#endif

/*
 * Physical address zone modifiers (see linux/mmzone.h - low four bits)