]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] console_unblank woes.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jun 2006 12:57:32 +0000 (14:57 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jun 2006 12:57:32 +0000 (14:57 +0200)
commitb00109a140421e00b918ab80315528b32271dcde
tree122423639f15638d04080dd095b939203b9bf645
parentca498d31866a051c67ab1d1aca95d785c90b7783
[S390] console_unblank woes.

The software watchdog calls machine_restart from a timer function.
The s390 machine_restart calls console_unblank to flush the console
output. This is needed for panic to get the panic message printed.
If console_unblank is called in interrupt a BUG is triggered in
acquire_console_sem. That makes the software watchdog panic instead
of restarting the machine. To get around this problem the call to
console_unblank is made conditionally on !in_interrupt() ||
oops_in_progress.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/setup.c