diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-07-31 16:59:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-04 22:07:22 -0700 |
commit | 6fb98fb3031359af42a6ee6984b477cbcfdca7bd (patch) | |
tree | 66929be0c0f0466f5caf9d9bbdb9e70869b8744f /scripts/coccinelle/misc | |
parent | 2a0e5ef6cfa24351791fbd4339f562211b83afae (diff) | |
download | blackbird-op-linux-6fb98fb3031359af42a6ee6984b477cbcfdca7bd.tar.gz blackbird-op-linux-6fb98fb3031359af42a6ee6984b477cbcfdca7bd.zip |
serial: core: Use proper spinlock flavor in uart_close()
uart_close() runs in non-atomic context only; use
spin_lock/unlock_irq instead of saving the interrupt state (which
== on).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/coccinelle/misc')
0 files changed, 0 insertions, 0 deletions