Pull tty/serial driver updates from Greg KH: "Here's the big tty/serial driver update for 3.19-rc1. There are a number of TTY core changes/fixes in here from Peter Hurley that have all been teted in linux-next for a long time now. There are also the normal serial driver updates as well, full details in the changelog below" * tag 'tty-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (219 commits) serial: pxa: hold port.lock when reporting modem line changes tty-hvsi_lib: Deletion of an unnecessary check before the function call "tty_kref_put" tty: Deletion of unnecessary checks before two function calls n_tty: Fix read_buf race condition, increment read_head after pushing data serial: of-serial: add PM suspend/resume support Revert "serial: of-serial: add PM suspend/resume support" Revert "serial: of-serial: fix up PM ops on no_console_suspend and port type" serial: 8250: don't attempt a trylock if in sysrq serial: core: Add big-endian iotype serial: samsung: use port->fifosize instead of hardcoded values serial: samsung: prefer to use fifosize from driver data serial: samsung: fix style problems serial: samsung: wait for transfer completion before clock disable serial: icom: fix error return code serial: tegra: clean up tty-flag assignments serial: Fix io address assign flow with Fintek PCI-to-UART Product serial: mxs-auart: fix tx_empty against shift register serial: mxs-auart: fix gpio change detection on interrupt serial: mxs-auart: Fix mxs_auart_set_ldisc() serial: 8250_dw: Use 64-bit access for OCTEON. ...
Showing the changes to kernel (1 of 102 files). Show all
Unified · Split
| @@ -211,27 +211,6 @@ repeat: · 210 unmodified lines | ||
| 211 | 211 | goto repeat; |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | −/* | |
| 215 | − * This checks not only the pgrp, but falls back on the pid if no | |
| 216 | − * satisfactory pgrp is found. I dunno - gdb doesn't work correctly | |
| 217 | − * without this... | |
| 218 | − * | |
| 219 | − * The caller must hold rcu lock or the tasklist lock. | |
| 220 | − */ | |
| 221 | −struct pid *session_of_pgrp(struct pid *pgrp) | |
| 222 | −{ | |
| 223 | − struct task_struct *p; | |
| 224 | − struct pid *sid = NULL; | |
| 225 | − | |
| 226 | − p = pid_task(pgrp, PIDTYPE_PGID); | |
| 227 | − if (p == NULL) | |
| 228 | − p = pid_task(pgrp, PIDTYPE_PID); | |
| 229 | − if (p != NULL) | |
| 230 | − sid = task_session(p); | |
| 231 | − | |
| 232 | − return sid; | |
| 233 | −} | |
| 234 | − | |
| 235 | 214 | /* |
| 236 | 215 | * Determine if a process group is "orphaned", according to the POSIX |
| 237 | 216 | * definition in 2.2.2.52. Orphaned process groups are not to be affected |