aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/memblock
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/memblock')
-rw-r--r--tools/testing/memblock/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/memblock/internal.h b/tools/testing/memblock/internal.h
index c2a492c05e0c..fdb7f5db7308 100644
--- a/tools/testing/memblock/internal.h
+++ b/tools/testing/memblock/internal.h
@@ -9,6 +9,10 @@
static int memblock_debug = 1;
#endif
+#define pr_warn_ratelimited(fmt, ...) printf(fmt, ##__VA_ARGS__)
+
+bool mirrored_kernelcore = false;
+
struct page {};
void memblock_free_pages(struct page *page, unsigned long pfn,