diff options
author | Alexandre Ghiti <alexandre.ghiti@canonical.com> | 2021-12-06 11:46:48 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-20 02:54:07 +0100 |
commit | 3270bfdb9e4a01bb15d018612a6354c1837b5f97 (patch) | |
tree | 6d948ca0ba57cd53294fa72d36e859a77cc73db0 /include/asm-generic/pgalloc.h | |
parent | riscv: Introduce functions to switch pt_ops (diff) | |
download | linux-3270bfdb9e4a01bb15d018612a6354c1837b5f97.tar.xz linux-3270bfdb9e4a01bb15d018612a6354c1837b5f97.zip |
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: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/asm-generic/pgalloc.h')
0 files changed, 0 insertions, 0 deletions