diff mbox series

MIPS: OCTEON: fix kexec support

Message ID 20190112193728.6205-1-aurelien@aurel32.net (mailing list archive)
State Mainlined
Commit 8a644c64a9f1aefb99fdc4413e6b7fee17809e38
Headers show
Series MIPS: OCTEON: fix kexec support | expand

Commit Message

Aurelien Jarno Jan. 12, 2019, 7:37 p.m. UTC
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>
---
 arch/mips/cavium-octeon/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul Burton Jan. 14, 2019, 6:35 p.m. UTC | #1
Hello,

Aurelien Jarno wrote:
> 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>

Applied to mips-fixes.

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@mips.com to report it. ]
diff mbox series

Patch

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)
 	"	sync						\n"
 	"	synci	($0)					\n");
 
-	relocated_kexec_smp_wait(NULL);
+	kexec_reboot();
 }
 #endif