aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2024-10-26 17:13:55 +0000
committerPalmer Dabbelt <[email protected]>2025-03-26 22:56:41 +0000
commit51b766c79a3d741fb97419c3da1c58fce5e66f0e (patch)
tree33fb224b9a2669987f69ffd893d89431372c0947 /rust/helpers/build_bug.c
parentriscv: Allow NOMMU kernels to access all of RAM (diff)
downloadkernel-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