forked from sonoble/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From cc1ab16f0e641a8b3cd90c802c2e48a4c89c238b Mon Sep 17 00:00:00 2001 | ||
|
||
From: Joe LeVeque <jolevequ@microsoft.com> | ||
|
||
Subject: [PATCH] Add kexec reboot string | ||
--- | ||
kernel/kexec_core.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c | ||
index 5616755..ac8a106 100644 | ||
--- a/kernel/kexec_core.c | ||
+++ b/kernel/kexec_core.c | ||
@@ -1531,7 +1531,7 @@ int kernel_kexec(void) | ||
#endif | ||
{ | ||
kexec_in_progress = true; | ||
- kernel_restart_prepare(NULL); | ||
+ kernel_restart_prepare("kexec reboot"); | ||
migrate_to_reboot_cpu(); | ||
|
||
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters