Skip to content
Commit 0966ea32 authored by Alexandre Ghiti's avatar Alexandre Ghiti Committed by Guo Ren
Browse files

riscv: Allow to dynamically define VA_BITS



With 4-level page table folding at runtime, we don't know at compile time
the size of the virtual address space so we must set VA_BITS dynamically
so that sparsemem reserves the right amount of memory for struct pages.

Signed-off-by: default avatarAlexandre Ghiti <alexandre.ghiti@canonical.com>
parent 396e995f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment