[S390] sclp: Get rid of in_atomic() use.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 17 Apr 2008 05:46:02 +0000 (07:46 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 17 Apr 2008 05:46:58 +0000 (07:46 +0200)
commitd1e23375bf5d1079cd54a1c6bc8592c42061f1e1
tree771cd2fbf57d68e0a612eb095ae5486901a6ee5f
parent8284fb19efa1f11ea8dd213e9e227fc1fcb20586
[S390] sclp: Get rid of in_atomic() use.

Reintroduces in_interrupt() check in sclp_tty code. Add may_schedule
parameter to vt220 write function, so we can let the write function
know if it may schedule or not. So we disallow scheduling for all
console calls and may allow them for tty calls.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/char/sclp_tty.c
drivers/s390/char/sclp_vt220.c