diff options
Diffstat (limited to 'pk/minit.c')
-rw-r--r-- | pk/minit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ void init_other_hart() while (*(pte_t* volatile*)&root_page_table == NULL) ; mb(); - write_csr(sptbr, root_page_table); + write_csr(sptbr, (uintptr_t)root_page_table >> RISCV_PGSHIFT); boot_other_hart(); } |