diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2019-01-12 14:37:28 -0500 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-01-14 16:51:03 -0500 |
commit | 8a644c64a9f1aefb99fdc4413e6b7fee17809e38 (patch) | |
tree | e7d357af4988cabaef77a3c36d08ac01cf332016 | |
parent | 5a9372f751b5350e0ce3d2ee91832f1feae2c2e5 (diff) |
MIPS: OCTEON: fix kexec support
Commit 62cac480f33f ("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: 62cac480f33f ("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+
-rw-r--r-- | arch/mips/cavium-octeon/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index 2c79ab52977a..8bf43c5a7bc7 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c | |||
@@ -98,7 +98,7 @@ static void octeon_kexec_smp_down(void *ignored) | |||
98 | " sync \n" | 98 | " sync \n" |
99 | " synci ($0) \n"); | 99 | " synci ($0) \n"); |
100 | 100 | ||
101 | relocated_kexec_smp_wait(NULL); | 101 | kexec_reboot(); |
102 | } | 102 | } |
103 | #endif | 103 | #endif |
104 | 104 | ||