commit | 6054c16e80318d32ee084a0f5620a863ae8cea33 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Thu Oct 16 15:33:25 2014 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 05 16:34:36 2014 -0800 |
tree | ad3c3d6cbcc440714a529d772ca6be940b6acbbc | |
parent | 4d8c1dff6a8666a2e18a7d5954c2156be0d5b152 [diff] |
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>