Skip to contentSkip to conversation

kexec: Add kexec reboot string

PATCH New Paul Menzel 1 participant 1 message Nov 3, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec: Add kexec reboot string

From: Joe LeVeque <[email protected]>

The purpose is to notify the kernel module for fast reboot.

Upstream a patch from the SONiC network operating system [1].

[1]: https://github.com/Azure/sonic-linux-kernel/pull/46

---
 kernel/kexec_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kexec_core.c +1 -1
index 8798a8183974..9aaa6ce48cdf 100644
@@ -1167,7 +1167,7 @@ int kernel_kexec(void)
 #endif
 	{
 		kexec_in_progress = true;
-		kernel_restart_prepare(NULL);
+		kernel_restart_prepare("kexec reboot");
 		migrate_to_reboot_cpu();
 
 		/*
Signature · 1 line
2.29.2