Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Michael Holzheu and committed by
Martin Schwidefsky
c6547497 99ca4e58

+6 -2
+6 -2
arch/s390/kernel/ipl.c
··· 1096 1096 1097 1097 static void stop_run(struct shutdown_trigger *trigger) 1098 1098 { 1099 - signal_processor(smp_processor_id(), sigp_stop_and_store_status); 1100 - for (;;); 1099 + if (strcmp(trigger->name, ON_PANIC_STR) == 0) 1100 + disabled_wait((unsigned long) __builtin_return_address(0)); 1101 + else { 1102 + signal_processor(smp_processor_id(), sigp_stop); 1103 + for (;;); 1104 + } 1101 1105 } 1102 1106 1103 1107 static struct shutdown_action stop_action = {SHUTDOWN_ACTION_STOP_STR,