commit | 0146b6939074ebe14ece3604fd00e7be128a3812 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Apr 02 13:54:23 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 09 11:28:18 2012 -0700 |
tree | 4dba1ecf72b9a2af168e9e6a71b156344307ca2f | |
parent | 85bbc003b24335e253a392f6a9874103b77abb36 [diff] |
TTY: HVC, use count from tty_port Now, count is used from tty_port and protected by tty_port->lock. n_outbuf is left unprotected in hvc_hangup now, because there is no point to hold any lock, since other uses are unprotected too. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>