diff options
author | Rob Herring <robh@kernel.org> | 2021-02-21 09:49:24 -0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-03-08 12:06:29 -0700 |
commit | 3c985d31ad661a2cc0ad0a55105046fc56a7b1fd (patch) | |
tree | f71ca5b261c95b009ffa8f06b603e03bbb9830ac /arch/powerpc/include | |
parent | ac10be5cdbfa852139658d52c2f1c608782ce992 (diff) | |
download | linux-stable-3c985d31ad661a2cc0ad0a55105046fc56a7b1fd.tar.gz linux-stable-3c985d31ad661a2cc0ad0a55105046fc56a7b1fd.tar.bz2 linux-stable-3c985d31ad661a2cc0ad0a55105046fc56a7b1fd.zip |
powerpc: Use common of_kexec_alloc_and_setup_fdt()
The code for setting up the /chosen node in the device tree
and updating the memory reservation for the next kernel has been
moved to of_kexec_alloc_and_setup_fdt() defined in "drivers/of/kexec.c".
Use the common of_kexec_alloc_and_setup_fdt() to setup the device tree
and update the memory reservation for kexec for powerpc.
Signed-off-by: Rob Herring <robh@kernel.org>
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-8-nramas@linux.microsoft.com
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kexec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kexec.h b/arch/powerpc/include/asm/kexec.h index 75eb35c361b1..33d628084b3c 100644 --- a/arch/powerpc/include/asm/kexec.h +++ b/arch/powerpc/include/asm/kexec.h @@ -107,6 +107,7 @@ struct kimage_arch { unsigned long backup_start; void *backup_buf; + void *fdt; #ifdef CONFIG_IMA_KEXEC phys_addr_t ima_buffer_addr; |