Commit a119b4e5 authored by Joe LeVeque's avatar Joe LeVeque Committed by Linus Torvalds

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]: https://github.com/Azure/sonic-linux-kernel/pull/46

Link: https://lkml.kernel.org/r/20210304124626.13927-1-pmenzel@molgen.mpg.deSigned-off-by: default avatarJoe LeVeque <jolevequ@microsoft.com>
Signed-off-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
Acked-by: default avatarBaoquan 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a8ca6b13
......@@ -1165,7 +1165,7 @@ int kernel_kexec(void)
#endif
{
kexec_in_progress = true;
kernel_restart_prepare(NULL);
kernel_restart_prepare("kexec reboot");
migrate_to_reboot_cpu();
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment