diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 19:33:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-06 00:34:36 (GMT) |
commit | 4d8c1dff6a8666a2e18a7d5954c2156be0d5b152 (patch) | |
tree | 67b087c8fb4142ad6d95b9a9e8d085ad8ace6ee6 /usr | |
parent | dbfcd851a9ee0bf6952e538be75230b7c071dafb (diff) | |
download | linux-4d8c1dff6a8666a2e18a7d5954c2156be0d5b152.tar.xz |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions