diff options
| author | Shell <[email protected]> | 2024-03-30 17:58:38 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-30 17:58:38 +0800 |
| commit | 864055bf1806f1331843379ced674b454b59bfca (patch) | |
| tree | 998720b2f18de67fb122d0930a4a80467ff9389c /components/mm | |
| parent | 6d1bc9b2f82e7b6c49e3a7fd38ed66aab1ac86d6 (diff) | |
[fixup] aarch64 UMP compiler error (#8677)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'components/mm')
| -rw-r--r-- | components/mm/mm_page.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/mm/mm_page.c b/components/mm/mm_page.c index fcae953a2d..ab3b898224 100644 --- a/components/mm/mm_page.c +++ b/components/mm/mm_page.c @@ -109,7 +109,7 @@ static void _collect() rt_page_t page = _trace_head; if (!page) { - LOG_RAW("ok! ALLOC CNT %ld\n", _alloc_cnt); + rt_kprintf("ok! ALLOC CNT %ld\n", _alloc_cnt); } else { @@ -159,7 +159,7 @@ void _report(rt_page_t page, size_t size_bits, char *msg) { void *pg_va = rt_page_page2addr(page); LOG_W("%s: %p, allocator: %p, size bits: %lx", msg, pg_va, page->caller, page->trace_size); - LOG_RAW("backtrace\n"); + rt_kprintf("backtrace\n"); rt_backtrace(); } @@ -175,7 +175,7 @@ static void _trace_free(rt_page_t page, void *caller, size_t size_bits) } else if (page->trace_size != size_bits) { - LOG_RAW("free with size bits %lx\n", size_bits); + rt_kprintf("free with size bits %lx\n", size_bits); _report(page, size_bits, "incompatible size bits parameter"); return ; } @@ -636,7 +636,7 @@ void list_page(void) rt_kprintf("[0x%08p]", rt_page_page2addr(hp)); hp = hp->next; } - LOG_RAW("\n"); + rt_kprintf("\n"); } rt_spin_unlock_irqrestore(&_spinlock, level); |
