]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] sclp: undo quiesce handler override on resume
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 13 Nov 2009 14:43:53 +0000 (15:43 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 13 Nov 2009 14:45:03 +0000 (15:45 +0100)
commit0214cdaeac65849f41a7d096c47c576c69954459
tree5ac9cc4d51464dba34d885152b52dcfb4a3f4550
parentf683b7978d517b1ddb4b5ed1095b99f2638aaff8
[S390] sclp: undo quiesce handler override on resume

In a system where the ctrl-alt-del init action initiated by signal
quiesce suspends the machine the quiesce handler override for
_machine_restart, _machine_halt and _machine_power_off needs to be
undone, otherwise the override is still present in the resumed
system. The next shutdown would then load the quiesce state psw
instead of performing the correct shutdown action.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_quiesce.c