summaryrefslogtreecommitdiff
path: root/drivers/tty/n_tty.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-10-16 19:33:24 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 00:34:36 (GMT)
commit4d8c1dff6a8666a2e18a7d5954c2156be0d5b152 (patch)
tree67b087c8fb4142ad6d95b9a9e8d085ad8ace6ee6 /drivers/tty/n_tty.c
parentdbfcd851a9ee0bf6952e538be75230b7c071dafb (diff)
downloadlinux-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 'drivers/tty/n_tty.c')
0 files changed, 0 insertions, 0 deletions