From: Peter Hurley Date: Thu, 16 Oct 2014 19:33:25 +0000 (-0400) Subject: tty: Use spin_lock_irq() for ctrl_lock when interrupts enabled X-Git-Tag: omap-for-v3.19/fixes-rc1~86^2~201 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6054c16e80318d32ee084a0f5620a863ae8cea33;p=pandora-kernel.git 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 Reviewed-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed