Skip to content

Commit a119b4e

Browse files
Joe LeVequetorvalds
authored andcommitted
kexec: Add kexec reboot string
The purpose is to notify the kernel module for fast reboot. Upstream a patch from the SONiC network operating system [1]. [1]: sonic-net/sonic-linux-kernel#46 Link: https://lkml.kernel.org/r/20210304124626.13927-1-pmenzel@molgen.mpg.de Signed-off-by: Joe LeVeque <jolevequ@microsoft.com> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Acked-by: Baoquan He <bhe@redhat.com> Cc: Guohan Lu <lguohan@gmail.com> Cc: Joe LeVeque <jolevequ@microsoft.com> Cc: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a8ca6b1 commit a119b4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/kexec_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ int kernel_kexec(void)
11651165
#endif
11661166
{
11671167
kexec_in_progress = true;
1168-
kernel_restart_prepare(NULL);
1168+
kernel_restart_prepare("kexec reboot");
11691169
migrate_to_reboot_cpu();
11701170

11711171
/*

0 commit comments

Comments
 (0)