diff options
author | 2024-10-26 10:13:55 -0700 | |
---|---|---|
committer | 2025-03-26 15:56:41 -0700 | |
commit | 51b766c79a3d741fb97419c3da1c58fce5e66f0e (patch) | |
tree | 33fb224b9a2669987f69ffd893d89431372c0947 /net/lapb/lapb_timer.c | |
parent | riscv: Allow NOMMU kernels to access all of RAM (diff) | |
download | wireguard-linux-51b766c79a3d741fb97419c3da1c58fce5e66f0e.tar.xz wireguard-linux-51b766c79a3d741fb97419c3da1c58fce5e66f0e.zip |
riscv: Support CONFIG_RELOCATABLE on NOMMU
Move relocate_kernel() out of the CONFIG_MMU block so it can be called
from the NOMMU version of setup_vm(). Set some offsets in kernel_map so
relocate_kernel() does not need to be modified. Relocatable NOMMU
kernels can be loaded to any physical memory address; they no longer
depend on CONFIG_PAGE_OFFSET.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20241026171441.3047904-4-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions