arch/riscv/kernel/elf_kexec.c
deleted100644 → 0
+0
−485
arch/riscv/kernel/kexec_elf.c
0 → 100644
+144
−0
File changed.
Preview size limit exceeded, changes collapsed.
Loading
This is the preparative patch for kexec_file_load Image support. It separates the elf_kexec_load() as two parts: - the first part loads the vmlinux (or Image) - the second part loads other segments (e.g. initrd,fdt,purgatory) And the second part is exported as the load_extra_segments() function which would be used in both kexec-elf.c and kexec-image.c. No functional change intended. Signed-off-by:Song Shuai <songshuaishuai@tinylab.org> Signed-off-by:
Björn Töpel <bjorn@rivosinc.com> Link: https://lore.kernel.org/r/20250409193004.643839-2-bjorn@kernel.org Signed-off-by:
Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by:
Palmer Dabbelt <palmer@dabbelt.com>
File changed.
Preview size limit exceeded, changes collapsed.