From: Jiri Slaby Date: Mon, 2 Apr 2012 11:54:23 +0000 (+0200) Subject: TTY: HVC, use count from tty_port X-Git-Tag: v3.5-rc1~146^2~30^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0146b6939074ebe14ece3604fd00e7be128a3812;p=pandora-kernel.git 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 Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed