tty: introduce wait_event_interruptible_tty
authorArnd Bergmann <arnd@arndb.de>
Tue, 1 Jun 2010 20:53:05 +0000 (22:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:43 +0000 (13:47 -0700)
commitbe1bc2889a4db4961ef69f47fb471ecae9f23ade
treefd6d5e46e69efd9d66e6baa184988461f608f49a
parent4e608671674b62e97166f903830d5553e37970e8
tty: introduce wait_event_interruptible_tty

Calling wait_event_interruptible implicitly
releases the BKL when it sleeps, but we need
to do this explcitly when we have converted
it to a mutex.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/cyclades.c
drivers/char/istallion.c
drivers/char/n_r3964.c
drivers/char/tty_port.c
drivers/char/vt_ioctl.c
drivers/serial/crisv10.c
include/linux/tty.h