Home
last modified time | relevance | path

Searched hist:"1 e86b5bf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/
H A Dtty_io.c1e86b5bf Sat Oct 10 19:28:43 CDT 2015 Peter Hurley <peter@hurleysoftware.com> tty: core: Use correct spinlock flavor in tiocspgrp()

tiocspgrp() is the ioctl handler for TIOCSPGRP, which runs in
non-atomic context; use spin_lock/unlock_irq (since interrupt state
is on).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1e86b5bf Sat Oct 10 19:28:43 CDT 2015 Peter Hurley <peter@hurleysoftware.com> tty: core: Use correct spinlock flavor in tiocspgrp()

tiocspgrp() is the ioctl handler for TIOCSPGRP, which runs in
non-atomic context; use spin_lock/unlock_irq (since interrupt state
is on).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>