diff options
Diffstat (limited to 'arch/riscv64/init')
| -rw-r--r-- | arch/riscv64/init/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv64/init/init.c b/arch/riscv64/init/init.c index 0680296..498023a 100644 --- a/arch/riscv64/init/init.c +++ b/arch/riscv64/init/init.c @@ -44,7 +44,8 @@ static void init_bootmem() /* direct mapping (temp) */ for (size_t i = 0; i < CSTACK_PAGE; ++i) - root_branch->leaf[i] = (struct vmem *)to_pte(TOP_PAGE_SIZE * i, flags); + root_branch->leaf[i] = (struct vmem *)to_pte(TOP_PAGE_SIZE * i, + flags); /* kernel (also sort of direct mapping) */ flags |= VM_G; |
