diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 15:33:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-05 16:34:36 -0800 |
commit | 6054c16e80318d32ee084a0f5620a863ae8cea33 (patch) | |
tree | ad3c3d6cbcc440714a529d772ca6be940b6acbbc /Documentation/driver-model/overview.txt | |
parent | 4d8c1dff6a8666a2e18a7d5954c2156be0d5b152 (diff) | |
download | blackbird-op-linux-6054c16e80318d32ee084a0f5620a863ae8cea33.tar.gz blackbird-op-linux-6054c16e80318d32ee084a0f5620a863ae8cea33.zip |
tty: Use spin_lock_irq() for ctrl_lock when interrupts enabled
Interrupts are enabled in the n_tty_read() loop, ioctl(TIOCPKT)
and pty driver flush_buffer() routine; no need to save and restore
local interrupt state.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/driver-model/overview.txt')
0 files changed, 0 insertions, 0 deletions