Message ID | 1658888438-20478-1-git-send-email-liuxp11@chinatelecom.cn (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] memblock tests: compiling error | expand |
diff --git a/tools/testing/memblock/internal.h b/tools/testing/memblock/internal.h index c2a492c..fdb7f5d 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,