]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: fix kexec support
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 12 Jan 2019 19:37:28 +0000 (20:37 +0100)
committerPaul Burton <paul.burton@mips.com>
Mon, 14 Jan 2019 21:51:03 +0000 (13:51 -0800)
commit58064b4ce8a2dbe2a1291900be01e11d2912db26
treee7d357af4988cabaef77a3c36d08ac01cf332016
parent0627a6c5c870c1c5c519b697339f55476b6a9cda
MIPS: OCTEON: fix kexec support

Commit 61a764a80a11 ("MIPS: kexec: Make a framework for both jumping and
halting on nonboot CPUs") broke the build of the OCTEON platform as
the relocated_kexec_smp_wait() is now static and not longer exported in
kexec.h.

Replace it by kexec_reboot() like it has been done in other places.

Fixes: 61a764a80a11 ("MIPS: kexec: Make a framework for both jumping and halting on nonboot CPUs")
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Dengcheng Zhu <dzhu@wavecomp.com>
Cc: ralf@linux-mips.org
Cc: stable@vger.kernel.org # 4.20+
arch/mips/cavium-octeon/setup.c