Skip to contentSkip to conversation

MIPS: OCTEON: fix kexec support

PATCH Applied Aurelien Jarno 2 participants 2 messages Jan 12, 2019 – Jan 14, 2019 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 arch/mips/cavium-octeon/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/cavium-octeon/setup.c +1 -1
index 2c79ab52977a..8bf43c5a7bc7 100644
@@ -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
 
Signature · 1 line
2.19.2
Applied
#1 lore raw

Hello,

Quoted 9 lines · Aurelien Jarno

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")

Applied to mips-fixes.

Thanks,
Paul

[ This message was auto-generated; if you believe anything is incorrect
then please email [email protected] to report it. ]