summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-10-16 21:33:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 01:34:36 +0100
commit6054c16e80318d32ee084a0f5620a863ae8cea33 (patch)
treead3c3d6cbcc440714a529d772ca6be940b6acbbc /drivers/scsi/scsi.h
parentpty: Use spin_lock_irq() for pty_set_termios() (diff)
downloadlinux-6054c16e80318d32ee084a0f5620a863ae8cea33.tar.xz
linux-6054c16e80318d32ee084a0f5620a863ae8cea33.zip
tty: Use spin_lock_irq() for ctrl_lock when interrupts enabled
Interrupts are enabled in the n_tty_read() loop, ioctl(TIOCPKT) and pty driver flush_buffer() routine; no need to save and restore 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/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions