aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/memblock/linux/kernel.h
diff options
context:
space:
mode:
authorKarolina Drobnik <karolinadrobnik@gmail.com>2022-02-02 12:03:09 +0100
committerMike Rapoport <rppt@linux.ibm.com>2022-02-20 08:44:37 +0200
commit16802e55dea9534c18a30bd8eeefea8a06337916 (patch)
tree3baa119284c22435f524bf65c86e0ef00968dae0 /tools/testing/memblock/linux/kernel.h
parenttools/include: Add debugfs.h stub (diff)
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
Diffstat (limited to 'tools/testing/memblock/linux/kernel.h')
-rw-r--r--tools/testing/memblock/linux/kernel.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/memblock/linux/kernel.h b/tools/testing/memblock/linux/kernel.h
new file mode 100644
index 000000000000..d2f148bd8902
--- /dev/null
+++ b/tools/testing/memblock/linux/kernel.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _MEMBLOCK_LINUX_KERNEL_H
+#define _MEMBLOCK_LINUX_KERNEL_H
+
+#include <../../include/linux/kernel.h>
+#include <linux/errno.h>
+#include <string.h>
+#include <linux/printk.h>
+#include <linux/linkage.h>
+#include <linux/kconfig.h>
+
+#endif