TTY: tty_io, annotate locking functions
authorJiri Slaby <jslaby@suse.cz>
Wed, 20 Apr 2011 08:43:18 +0000 (10:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Apr 2011 21:19:12 +0000 (14:19 -0700)
commit83c67571b372c4a40023a84e183fdb7fa4e89e48
tree3865faaf2546860e5107ac6709f39c1d352e7743
parentc831cff256c86588976e66bef7897633d534846c
TTY: tty_io, annotate locking functions

tty_write_lock and tty_write_unlock contain imbalanced locking. But
this is intentional, so mark them appropriately by
__acquires/__releases.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/tty_io.c