tty: add lockdep annotations
authorEric Dumazet <edumazet@google.com>
Thu, 31 May 2012 09:35:18 +0000 (11:35 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 31 May 2012 18:59:41 +0000 (11:59 -0700)
commitfde86d310886372a377213251e72fb87aaa406c9
treed0131cf044535b71710dd61ee78b4810f5545ac3
parent1d59d61f606547f0712aa6971f91f71154071c99
tty: add lockdep annotations

tty_lock_pair() do the right thing to avoid deadlocks, but should
instruct LOCKDEP of this to avoid a splat.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/tty/tty_mutex.c