From: Peter Hurley Date: Wed, 10 Sep 2014 19:06:26 +0000 (-0400) Subject: serial: core: Privatize tty->hw_stopped X-Git-Tag: fixes-for-v3.18-merge-window~14^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d01f4d181c92877ecc678adce248a30cb7077ff1;p=pandora-kernel.git serial: core: Privatize tty->hw_stopped tty->hw_stopped is not used by the tty core and is thread-unsafe; hw_stopped is a member of a bitfield whose fields are updated non-atomically and no lock is suitable for serializing updates. Replace serial core usage of tty->hw_stopped with uport->hw_stopped. Use int storage which works around Alpha EV4/5 non-atomic byte storage, since uart_port uses different locks to protect certain fields within the structure. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed