summaryrefslogtreecommitdiffstats
path: root/drivers/char/selection.c
diff options
context:
space:
mode:
authorArnd Bergmann2010-06-01 22:53:07 +0200
committerGreg Kroah-Hartman2010-08-10 22:47:43 +0200
commit203652192634c1fce5e79df0a8ff2fabfaefd3ab (patch)
tree9c2ee78c04b0750220fa34e7adc541c16bf21e90 /drivers/char/selection.c
parenttty: reorder ldisc locking (diff)
downloadkernel-qcow2-linux-203652192634c1fce5e79df0a8ff2fabfaefd3ab.tar.gz
kernel-qcow2-linux-203652192634c1fce5e79df0a8ff2fabfaefd3ab.tar.xz
kernel-qcow2-linux-203652192634c1fce5e79df0a8ff2fabfaefd3ab.zip
tty: untangle locking of wait_until_sent
Some wait_until_sent versions require the big tty mutex, others don't and some callers of wait_until_sent already hold it while other don't. That leads to recursive use of the BTM in these functions, which we're trying to get rid of. This turns all cleans up the locking there so that the driver's wait_until_sent function never takes the BTM itself if it is already called with that lock held. 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>
Diffstat (limited to 'drivers/char/selection.c')
0 files changed, 0 insertions, 0 deletions