diff options
author | Li Zhengyu <[email protected]> | 2022-06-01 14:39:24 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-07-14 14:23:33 -0700 |
commit | a927444aa953f757eaea5bb3615916fba6db58bf (patch) | |
tree | b6d74462e02d5e75204c9558519947fb821f8145 /tools/perf/util/scripting-engines | |
parent | 7fccd723912702acfc2d75e8f0596982534f7f24 (diff) |
RISCV: kexec: Fix build error without CONFIG_MODULES
When CONFIG_MODULES is not set/enabled:
../arch/riscv/kernel/elf_kexec.c:353:9: error: unknown type name 'Elf_Rela'; did you mean 'Elf64_Rela'?
353 | Elf_Rela *relas;
| ^~~~~~~~
| Elf64_Rela
Replace Elf_Rela by Elf64_Rela to avoid relying on CONFIG_MODULES.
Signed-off-by: Li Zhengyu <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 838b3e28488f ("RISC-V: Load purgatory in kexec_file")
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions