tty: Fix spinlock flavor in non-atomic __tty_hangup()
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 6 Mar 2013 12:20:54 +0000 (07:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 21:02:32 +0000 (14:02 -0700)
commit20cc225bab6709408840e4400cd1a5c2b28c7a52
tree5e722781b19e2644fe94a035e4719ed4a821842b
parentea648a47e83d7cda0832f96de215464e2c35b2c2
tty: Fix spinlock flavor in non-atomic __tty_hangup()

__tty_hangup() and tty_vhangup() cannot be called from atomic context,
so locks do not need to preserve the interrupt state (although,
still disable interrupts).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c