diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 15:33:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-05 16:34:36 -0800 |
commit | 4d8c1dff6a8666a2e18a7d5954c2156be0d5b152 (patch) | |
tree | 67b087c8fb4142ad6d95b9a9e8d085ad8ace6ee6 /drivers/tty/n_tty.c | |
parent | dbfcd851a9ee0bf6952e538be75230b7c071dafb (diff) | |
download | op-kernel-dev-4d8c1dff6a8666a2e18a7d5954c2156be0d5b152.zip op-kernel-dev-4d8c1dff6a8666a2e18a7d5954c2156be0d5b152.tar.gz |
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 'drivers/tty/n_tty.c')
0 files changed, 0 insertions, 0 deletions