summaryrefslogtreecommitdiff
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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/memblock/internal.h b/tools/testing/memblock/internal.h
index fdb7f5db7308..0ab4b53bb4f3 100644
--- a/tools/testing/memblock/internal.h
+++ b/tools/testing/memblock/internal.h
@@ -20,4 +20,14 @@ void memblock_free_pages(struct page *page, unsigned long pfn,
{
}
+static inline void accept_memory(phys_addr_t start, unsigned long size)
+{
+}
+
+static inline unsigned long free_reserved_area(void *start, void *end,
+ int poison, const char *s)
+{
+ return 0;
+}
+
#endif