diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-10-26 20:13:55 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2025-03-27 01:56:41 +0300 |
commit | 51b766c79a3d741fb97419c3da1c58fce5e66f0e (patch) | |
tree | 33fb224b9a2669987f69ffd893d89431372c0947 /tools/perf/scripts/python/flamegraph.py | |
parent | 2c0391b29b27f315c1b4c29ffde66f50b29fab99 (diff) | |
download | linux-51b766c79a3d741fb97419c3da1c58fce5e66f0e.tar.xz |
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 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions