[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20201103134036.23554-1-pmenzel@molgen.mpg.de>
Date: Tue, 3 Nov 2020 14:40:36 +0100
From: Paul Menzel <pmenzel@...gen.mpg.de>
To: Eric Biederman <ebiederm@...ssion.com>
Cc: Joe LeVeque <jolevequ@...rosoft.com>, kexec@...ts.infradead.org,
linux-kernel@...r.kernel.org, Paul Menzel <pmenzel@...gen.mpg.de>
Subject: [PATCH] kexec: Add kexec reboot string
From: Joe LeVeque <jolevequ@...rosoft.com>
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
Signed-off-by: Paul Menzel <pmenzel@...gen.mpg.de>
---
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 8798a8183974..9aaa6ce48cdf 100644
--- a/kernel/kexec_core.c
+++ b/kernel/kexec_core.c
@@ -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();
/*
--
2.29.2
Powered by blists - more mailing lists