]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] console flush on panic / reboot
authorHolger Smolinski <Holger.Smolinski@de.ibm.com>
Fri, 10 Oct 2008 19:33:27 +0000 (21:33 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 10 Oct 2008 19:34:01 +0000 (21:34 +0200)
commit49b472b8347f4222151b57238b4defa55cc3e7a2
tree38728f02d84d91c9ce6e4bb06e871cc19cbe57cd
parent9081b9335343585e4e6875e4ecb58d64fe2905d3
[S390] console flush on panic / reboot

The s390 console drivers use the unblank callback of the console
structure to flush the console buffer. In case of a panic or a
reboot the CPU doing the callback can block on the console i/o.
The other CPUs in the system continue to work. For panic this is
not a good idea.

Replace the unblank callback with proper panic/reboot notifier.
These get called after all but one CPU have been stopped.

Signed-off-by: Holger Smolinski <Holger.Smolinski@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/con3215.c
drivers/s390/char/con3270.c
drivers/s390/char/sclp_con.c
drivers/s390/char/sclp_vt220.c