switch-linux/drivers
Peter Hurley ebc9baed42 tty: Separate release semantics of ldisc reference
tty_ldisc_ref()/tty_ldisc_unref() have usage semantics
equivalent to down_read_trylock()/up_read(). Only
callers of tty_ldisc_put() are performing the additional
operations necessary for proper ldisc teardown, and then only
after ensuring no outstanding 'read lock' remains.

Thus, tty_ldisc_unref() should never be the last reference;
WARN if it is. Conversely, tty_ldisc_put() should never be
destructing if the use count != 1.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-18 16:48:42 -07:00
..
accessibility
acpi
amba
ata
atm
auxdisplay
base ACPI and power management fixes for 3.9-rc2 2013-03-07 14:54:28 -08:00
bcma
block
bluetooth
bus
cdrom
char Fix a circular locking dependency in random's collection of cputime 2013-03-08 14:42:16 -08:00
clk
clocksource
connector
cpufreq
cpuidle
crypto
dca
devfreq
dio
dma
edac
eisa
extcon
firewire
firmware Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2013-03-09 16:51:13 -08:00
gpio
gpu
hid Merge branch 'for-3.9/upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2013-03-08 14:42:52 -08:00
hsi
hv
hwmon
hwspinlock
i2c
ide
idle
iio
infiniband
input Atmel MXT touchscreen: increase reset timeouts 2013-03-09 10:31:01 -08:00
iommu
ipack
irqchip
isdn TTY: cleanup tty->hw_stopped uses 2013-03-18 16:24:30 -07:00
leds
lguest
macintosh
mailbox
md
media
memory
memstick
message
mfd
misc
mmc TTY: add tty_port_tty_hangup helper 2013-03-18 16:24:29 -07:00
mtd
net TTY: cleanup tty->hw_stopped uses 2013-03-18 16:24:30 -07:00
nfc
ntb
nubus
of
oprofile
parisc
parport
pci
pcmcia
pinctrl
platform Platform: x86: chromeos_laptop : Add basic platform data for atmel devices 2013-03-08 16:03:29 -08:00
pnp
power
pps
ps3
ptp
pwm
rapidio
regulator
remoteproc
rpmsg
rtc
s390 TTY: add tty_port_tty_wakeup helper 2013-03-18 16:19:45 -07:00
sbus
scsi
sfi
sh
sn
spi
ssb
staging TTY: add tty_port_tty_wakeup helper 2013-03-18 16:19:45 -07:00
target
tc
thermal
tty tty: Separate release semantics of ldisc reference 2013-03-18 16:48:42 -07:00
uio
usb TTY: add tty_port_tty_hangup helper 2013-03-18 16:24:29 -07:00
uwb
vfio
vhost
video
virt
virtio
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile