mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
[S390] No panic for failed reboot
If reboot fails (e.g. because wrong devno has been specified by the user), we should just stop all cpus, but should not trigger a kernel panic. Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
654452a48a
commit
3902e47628
1 changed files with 2 additions and 1 deletions
|
@ -697,7 +697,8 @@ void do_reipl(void)
|
|||
diag308(DIAG308_IPL, NULL);
|
||||
break;
|
||||
}
|
||||
panic("reipl failed!\n");
|
||||
printk(KERN_EMERG "reboot failed!\n");
|
||||
signal_processor(smp_processor_id(), sigp_stop_and_store_status);
|
||||
}
|
||||
|
||||
static void do_dump(void)
|
||||
|
|
Loading…
Reference in a new issue