Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / testing / memblock / internal.h
blob1cf82acb2a3e4d4613441b68bd43bb1566f456d9
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _MM_INTERNAL_H
3 #define _MM_INTERNAL_H
5 /*
6 * Enable memblock_dbg() messages
7 */
8 #ifdef MEMBLOCK_DEBUG
9 static int memblock_debug = 1;
10 #endif
12 #define pr_warn_ratelimited(fmt, ...) printf(fmt, ##__VA_ARGS__)
14 bool mirrored_kernelcore = false;
16 struct page {};
18 void memblock_free_pages(struct page *page, unsigned long pfn,
19 unsigned int order)
23 static inline void accept_memory(phys_addr_t start, unsigned long size)
27 #endif