summaryrefslogtreecommitdiffstats
path: root/tools/testing/memblock/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/memblock/internal.h')
-rw-r--r--tools/testing/memblock/internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/memblock/internal.h b/tools/testing/memblock/internal.h
new file mode 100644
index 000000000000..94b52a8718b5
--- /dev/null
+++ b/tools/testing/memblock/internal.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#ifndef _MM_INTERNAL_H
+#define _MM_INTERNAL_H
+
+struct page {};
+
+void memblock_free_pages(struct page *page, unsigned long pfn,
+ unsigned int order)
+{
+}
+
+#endif