diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 21:33:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-06 01:34:36 +0100 |
commit | 4d8c1dff6a8666a2e18a7d5954c2156be0d5b152 (patch) | |
tree | 67b087c8fb4142ad6d95b9a9e8d085ad8ace6ee6 /drivers/cdrom | |
parent | tty: Move pty-specific set_termios() handling to pty driver (diff) | |
download | linux-4d8c1dff6a8666a2e18a7d5954c2156be0d5b152.tar.xz linux-4d8c1dff6a8666a2e18a7d5954c2156be0d5b152.zip |
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/cdrom')
0 files changed, 0 insertions, 0 deletions