tty: localise the lock
authorAlan Cox <[email protected]>
Wed, 8 Aug 2012 15:30:13 +0000 (16:30 +0100)
committerGreg Kroah-Hartman <[email protected]>
Fri, 10 Aug 2012 19:55:47 +0000 (12:55 -0700)
commit89c8d91e31f267703e365593f6bfebb9f6d2ad01
treeb115c7738762abe4a8a6374debb4991382b2f785
parentdc6802a771e91050fb686dfeeb9de4c6c9cadb79
tty: localise the lock

The termios and other changes mean the other protections needed on the driver
tty arrays should be adequate. Turn it all back on.

This contains pieces folded in from the fixes made to the original patches

| From: Geert Uytterhoeven <[email protected]> (fix m68k)
| From: Paul Gortmaker <[email protected]> (fix cris)
| From: Jiri Kosina <[email protected]> (lockdep)
| From: Eric Dumazet <[email protected]> (lockdep)

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
14 files changed:
drivers/tty/amiserial.c
drivers/tty/cyclades.c
drivers/tty/n_r3964.c
drivers/tty/pty.c
drivers/tty/serial/crisv10.c
drivers/tty/synclink.c
drivers/tty/synclink_gt.c
drivers/tty/synclinkmp.c
drivers/tty/tty_io.c
drivers/tty/tty_ldisc.c
drivers/tty/tty_mutex.c
drivers/tty/tty_port.c
include/linux/tty.h
net/bluetooth/rfcomm/tty.c