tools: Move gfp.h and slab.h from radix-tree to lib
authorKarolina Drobnik <karolinadrobnik@gmail.com>
Wed, 2 Feb 2022 11:03:00 +0000 (12:03 +0100)
committerMike Rapoport <rppt@linux.ibm.com>
Sun, 20 Feb 2022 06:44:37 +0000 (08:44 +0200)
commitaa0eab8639ff0fb1edf18b8616e6ae2c38ca5854
treeee3e5dd27223af9798299eb76c11047d5ee7f340
parent754e0b0e35608ed5206d6a67a791563c631cec07
tools: Move gfp.h and slab.h from radix-tree to lib

Merge radix-tree definitions from gfp.h and slab.h with these
in tools/lib, so they can be used in other test suites.
Fix style issues in slab.h. Update radix-tree test files.

Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Signed-off-by: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/b76ddb8a12fdf9870b55c1401213e44f5e0d0da3.1643796665.git.karolinadrobnik@gmail.com
tools/include/linux/gfp.h
tools/include/linux/slab.h [new file with mode: 0644]
tools/lib/slab.c [new file with mode: 0644]
tools/testing/radix-tree/Makefile
tools/testing/radix-tree/linux.c
tools/testing/radix-tree/linux/gfp.h [deleted file]
tools/testing/radix-tree/linux/slab.h [deleted file]