]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/85xx: fix compile error without CONFIG_CRASH_DUMP
authorHari Bathini <hbathini@linux.ibm.com>
Fri, 10 May 2024 08:07:57 +0000 (13:37 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 May 2024 12:36:05 +0000 (22:36 +1000)
commit7b090b6ff51b9a9f002139660672f662b95f0630
tree9c0d53c8b7c11f2c1056baf2c1bcb2dfb7f4228f
parent9dc140785961e53b1d45d186961a3b0d374bfc6a
powerpc/85xx: fix compile error without CONFIG_CRASH_DUMP

Since commit 5c4233cc0920 ("powerpc/kdump: Split KEXEC_CORE and
CRASH_DUMP dependency"), crashing_cpu is not available without
CONFIG_CRASH_DUMP. Fix compile error on 64-BIT 85xx owing to this
change.

Fixes: 5c4233cc0920 ("powerpc/kdump: Split KEXEC_CORE and CRASH_DUMP dependency")
Cc: stable@vger.kernel.org # v6.9+
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Closes: https://lore.kernel.org/all/fa247ae4-5825-4dbe-a737-d93b7ab4d4b9@xenosoft.de/
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240510080757.560159-1-hbathini@linux.ibm.com
arch/powerpc/platforms/85xx/smp.c