aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/elf_kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/elf_kexec.c')
-rw-r--r--arch/riscv/kernel/elf_kexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/elf_kexec.c b/arch/riscv/kernel/elf_kexec.c
index 9cb85095fd45..0cb94992c15b 100644
--- a/arch/riscv/kernel/elf_kexec.c
+++ b/arch/riscv/kernel/elf_kexec.c
@@ -349,7 +349,7 @@ int arch_kexec_apply_relocations_add(struct purgatory_info *pi,
{
const char *strtab, *name, *shstrtab;
const Elf_Shdr *sechdrs;
- Elf_Rela *relas;
+ Elf64_Rela *relas;
int i, r_type;
/* String & section header string table */