All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: OCTEON: fix kexec support
@ 2019-01-12 19:37 Aurelien Jarno
  2019-01-14 18:35 ` Paul Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Aurelien Jarno @ 2019-01-12 19:37 UTC (permalink / raw)
  To: linux-mips; +Cc: Dengcheng Zhu, Paul Burton, ralf, 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")
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 arch/mips/cavium-octeon/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: OCTEON: fix kexec support
  2019-01-12 19:37 [PATCH] MIPS: OCTEON: fix kexec support Aurelien Jarno
@ 2019-01-14 18:35 ` Paul Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Burton @ 2019-01-14 18:35 UTC (permalink / raw)
  To: Aurelien Jarno
  Cc: linux-mips, Dengcheng Zhu, Paul Burton, ralf, Aurelien Jarno, linux-mips

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. ]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-14 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-12 19:37 [PATCH] MIPS: OCTEON: fix kexec support Aurelien Jarno
2019-01-14 18:35 ` Paul Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.