kernel_restart_prepare
extern void kernel_restart_prepare(char *cmd);
kernel_restart_prepare("kexec reboot");
kernel_restart_prepare(cmd);