summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250_core.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-09-02 17:39:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-08 16:23:36 -0700
commit8a949b07e4062cbd07e04e6a47249e69ca65b944 (patch)
treefd8cfdd636e4bd27bcf6c3af31da41149d3139e4 /drivers/tty/serial/8250/8250_core.c
parent16020b989ac72b0b02654612a7b70398a7faac21 (diff)
downloadop-kernel-dev-8a949b07e4062cbd07e04e6a47249e69ca65b944.zip
op-kernel-dev-8a949b07e4062cbd07e04e6a47249e69ca65b944.tar.gz
serial: core: Document lock requirement for UPF_* flags updates
The flags field of struct uart_port can only be safely modified if the port mutex is held; no other lock prevents concurrent changes from corrupting the field. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud