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@kernel.org>
Wed, 9 Feb 2022 07:17:56 +0000 (09:17 +0200)
commit5a198c3f9b0bf67ede95c1c065b8584b55f3f87a
tree36163b7a120bd890239516504aa74330397b4292
parentdfd42facf1e4ada021b939b4e19c935dcdd55566
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]