aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kexec.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-02-21 09:49:24 -0800
committerRob Herring <robh@kernel.org>2021-03-08 12:06:29 -0700
commit3c985d31ad661a2cc0ad0a55105046fc56a7b1fd (patch)
treef71ca5b261c95b009ffa8f06b603e03bbb9830ac /arch/powerpc/include/asm/kexec.h
parentarm64: Use common of_kexec_alloc_and_setup_fdt() (diff)
downloadlinux-dev-3c985d31ad661a2cc0ad0a55105046fc56a7b1fd.tar.xz
linux-dev-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/asm/kexec.h')
-rw-r--r--arch/powerpc/include/asm/kexec.h1
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;