diff options
| author | Samuel Holland <[email protected]> | 2024-10-26 17:13:55 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-03-26 22:56:41 +0000 |
| commit | 51b766c79a3d741fb97419c3da1c58fce5e66f0e (patch) | |
| tree | 33fb224b9a2669987f69ffd893d89431372c0947 /rust/helpers/build_bug.c | |
| parent | riscv: Allow NOMMU kernels to access all of RAM (diff) | |
| download | kernel-51b766c79a3d741fb97419c3da1c58fce5e66f0e.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
