preventing erroneous optimization of rt_ioremap_early

This commit is contained in:
zhao maosheng 2024-02-06 10:20:27 +08:00 committed by Meco Man
parent cfcc72ee8a
commit 49b17d01ac
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ static int _map_single_page_2M(unsigned long *lv0_tbl, unsigned long va,
void *rt_ioremap_early(void *paddr, size_t size) void *rt_ioremap_early(void *paddr, size_t size)
{ {
size_t count; volatile size_t count;
rt_ubase_t base; rt_ubase_t base;
static void *tbl = RT_NULL; static void *tbl = RT_NULL;