]> git.hungrycats.org Git - linux/commit
[PATCH] s390: sclp bug fixes.
authorAndrew Morton <akpm@osdl.org>
Sat, 31 Jan 2004 02:05:21 +0000 (18:05 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 31 Jan 2004 02:05:21 +0000 (18:05 -0800)
commite7d1d6cd8e12e123bb9e70e731f662fbbbe51f53
treef34321f504ea7882819d0ae575a598ee1f154e25
parente4f06bee55391b48006ee436d7ce808fb6b92801
[PATCH] s390: sclp bug fixes.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

SCLP console/tty fixes:

- Fix incorrect state change of SCLP_RUNNING flag in interrupt handler

- Suppress emission of empty buffers to prevent stack overflow

- Fix off by one error in sclp_write (used to return # of chars written + 1)

- Prevent sclp_tty_write_string from waiting in interrupt (during flush)

- Fix deadlock after TIOCSCLPSNL ioctl

- Fix sclp_tty_chars_in_buffer calculation
drivers/s390/char/sclp.c
drivers/s390/char/sclp_con.c
drivers/s390/char/sclp_rw.c
drivers/s390/char/sclp_tty.c