No panic for failed reboot
From: Michael Holzheu <[email protected]>
[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 <[email protected]>
Signed-off-by Martin Schwidefsky <[email protected]>
---
arch/s390/kernel/ipl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-)
arch/s390/kernel/ipl.c +2 -1
@@ -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 )