Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6547497 authored by Michael Holzheu's avatar Michael Holzheu Committed by Martin Schwidefsky
Browse files

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

parent 99ca4e58
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -1096,9 +1096,13 @@ 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);
	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,
					     stop_run, NULL};