diff options
author | Peter Hurley | 2014-09-10 21:06:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-09-24 06:19:35 +0200 |
commit | d01f4d181c92877ecc678adce248a30cb7077ff1 (patch) | |
tree | f4b9a5723be98e63e2b238f8290fd418179a238a /drivers/usb/serial | |
parent | isdn: i4l: Remove ASYNC_CTS_FLOW (diff) | |
download | kernel-qcow2-linux-d01f4d181c92877ecc678adce248a30cb7077ff1.tar.gz kernel-qcow2-linux-d01f4d181c92877ecc678adce248a30cb7077ff1.tar.xz kernel-qcow2-linux-d01f4d181c92877ecc678adce248a30cb7077ff1.zip |
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 <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions