commit | 1e86b5bf15e2be662df303b7067ac08247713401 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Oct 10 20:28:43 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 17 21:30:49 2015 -0700 |
tree | 8577fee20d9cf63a6275737a73b0c03efa026c37 | |
parent | 2812d9e9fd94c54b0482215f579e6aa04452a322 [diff] |
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>