]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit2332ce1a97963b7769e0c2d40492a10a124efba5
tree38728f02d84d91c9ce6e4bb06e871cc19cbe57cd
parent15e86b0c752d50e910b2cca6e83ce74c4440d06c
[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