From: Peter Hurley Date: Thu, 16 Oct 2014 19:33:24 +0000 (-0400) Subject: pty: Use spin_lock_irq() for pty_set_termios() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~83^2~202 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d8c1dff6a8666a2e18a7d5954c2156be0d5b152;p=pandora-kernel.git 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 Reviewed-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed