preventing erroneous optimization of rt_ioremap_early
This commit is contained in:
parent
cfcc72ee8a
commit
49b17d01ac
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue