memblock tests: Add skeleton of the memblock simulator
authorKarolina Drobnik <karolinadrobnik@gmail.com>
Wed, 2 Feb 2022 11:03:09 +0000 (12:03 +0100)
committerMike Rapoport <rppt@kernel.org>
Wed, 9 Feb 2022 07:17:57 +0000 (09:17 +0200)
commit46ad27eef5220e3cda0fe263e8a9f785896f7aec
treedcfcb1c65e7fc402625c7644881f693c671391da
parentab1f3ebd520caae193725043c70f5762f197241f
memblock tests: Add skeleton of the memblock simulator

Add basic project files, together with local stubs of required headers.
Update tools/include/slab.h to include definitions used by memblock.

Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Signed-off-by: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/d296fceb023a04b316a31fbff9acf1e76ac684e4.1643796665.git.karolinadrobnik@gmail.com
16 files changed:
MAINTAINERS
tools/include/linux/slab.h
tools/testing/memblock/.gitignore [new file with mode: 0644]
tools/testing/memblock/Makefile [new file with mode: 0644]
tools/testing/memblock/asm/dma.h [new file with mode: 0644]
tools/testing/memblock/internal.h [new file with mode: 0644]
tools/testing/memblock/lib/slab.c [new file with mode: 0644]
tools/testing/memblock/linux/init.h [new file with mode: 0644]
tools/testing/memblock/linux/kernel.h [new file with mode: 0644]
tools/testing/memblock/linux/kmemleak.h [new file with mode: 0644]
tools/testing/memblock/linux/memory_hotplug.h [new file with mode: 0644]
tools/testing/memblock/linux/mmzone.h [new file with mode: 0644]
tools/testing/memblock/linux/printk.h [new file with mode: 0644]
tools/testing/memblock/main.c [new file with mode: 0644]
tools/testing/memblock/mmzone.c [new file with mode: 0644]
tools/testing/memblock/scripts/Makefile.include [new file with mode: 0644]