diff options
author | Lakshmi Ramasubramanian <nramas@linux.microsoft.com> | 2021-02-21 20:49:19 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-03-08 22:06:28 +0300 |
commit | 7b558cc3564e6c9ab2047c82e4a555e1d771ea1b (patch) | |
tree | 922fcd7642408904ef9f98257ab2839f2b70e2b7 /arch/arm64/include/asm/kexec.h | |
parent | 9336a5f64b54d2913fb5daa1ac0280ff36f1c5ed (diff) | |
download | linux-7b558cc3564e6c9ab2047c82e4a555e1d771ea1b.tar.xz |
arm64: Use ELF fields defined in 'struct kimage'
ELF related fields elf_headers, elf_headers_sz, and elf_headers_mem
have been moved from 'struct kimage_arch' to 'struct kimage' as
elf_headers, elf_headers_sz, and elf_load_addr respectively.
Use the ELF fields defined in 'struct kimage'.
Suggested-by: Rob Herring <robh@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210221174930.27324-3-nramas@linux.microsoft.com
Diffstat (limited to 'arch/arm64/include/asm/kexec.h')
-rw-r--r-- | arch/arm64/include/asm/kexec.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/kexec.h b/arch/arm64/include/asm/kexec.h index 9befcd87e9a8..00dbcc71aeb2 100644 --- a/arch/arm64/include/asm/kexec.h +++ b/arch/arm64/include/asm/kexec.h @@ -96,10 +96,6 @@ struct kimage_arch { void *dtb; phys_addr_t dtb_mem; phys_addr_t kern_reloc; - /* Core ELF header buffer */ - void *elf_headers; - unsigned long elf_headers_mem; - unsigned long elf_headers_sz; }; #ifdef CONFIG_KEXEC_FILE |