commit | 4d8c1dff6a8666a2e18a7d5954c2156be0d5b152 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Thu Oct 16 15:33:24 2014 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 05 16:34:36 2014 -0800 |
tree | 67b087c8fb4142ad6d95b9a9e8d085ad8ace6ee6 | |
parent | dbfcd851a9ee0bf6952e538be75230b7c071dafb [diff] |
pty: Use spin_lock_irq() for pty_set_termios() The tty driver's set_termios() method is called with interrupts enabled; there is no need to save and restore the 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>