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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/testing/memblock/internal.h b/tools/testing/memblock/internal.h
index f6c6e5474c3a..0ab4b53bb4f3 100644
--- a/tools/testing/memblock/internal.h
+++ b/tools/testing/memblock/internal.h
@@ -20,8 +20,14 @@ void memblock_free_pages(struct page *page, unsigned long pfn,
{
}
-static inline void accept_memory(phys_addr_t start, phys_addr_t end)
+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