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

[S390] Load disabled wait psw instead of stopping cpu on halt.

Signed-off-by: NMichael Holzheu <holzheu@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 99ca4e58
......@@ -1096,8 +1096,12 @@ static struct shutdown_action vmcmd_action = {SHUTDOWN_ACTION_VMCMD_STR,
static void stop_run(struct shutdown_trigger *trigger)
{
signal_processor(smp_processor_id(), sigp_stop_and_store_status);
for (;;);
if (strcmp(trigger->name, ON_PANIC_STR) == 0)
disabled_wait((unsigned long) __builtin_return_address(0));
else {
signal_processor(smp_processor_id(), sigp_stop);
for (;;);
}
}
static struct shutdown_action stop_action = {SHUTDOWN_ACTION_STOP_STR,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册