提交 3902e476 编写于 作者: M Michael Holzheu 提交者: Martin Schwidefsky

[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: NMichael Holzheu <holzheu@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 654452a4
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册