diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-14 18:23:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-14 18:23:32 -0500 |
commit | 37da7bbbe84fe9e8862940d3f9194fd27dce59bb (patch) | |
tree | 6c3fae910b4cfd4e2f9a1fdc035400cd4df78be3 /arch | |
parent | e7cf773d431a63a2417902696fcc9e0ebdc83bbe (diff) | |
parent | dd63af108f0814f0b589659f4e55a7a5af3b7e53 (diff) |
Merge tag 'tty-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
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.
...
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/include/asm/bfin_serial.h | 7 | ||||
-rw-r--r-- | arch/um/drivers/line.c | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/arch/blackfin/include/asm/bfin_serial.h b/arch/blackfin/include/asm/bfin_serial.h index 2d90d62edc97..d00d732784b1 100644 --- a/arch/blackfin/include/asm/bfin_serial.h +++ b/arch/blackfin/include/asm/bfin_serial.h | |||
@@ -9,8 +9,11 @@ | |||
9 | #ifndef __BFIN_ASM_SERIAL_H__ | 9 | #ifndef __BFIN_ASM_SERIAL_H__ |
10 | #define __BFIN_ASM_SERIAL_H__ | 10 | #define __BFIN_ASM_SERIAL_H__ |
11 | 11 | ||
12 | #include <linux/circ_buf.h> | ||
12 | #include <linux/serial_core.h> | 13 | #include <linux/serial_core.h> |
13 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
15 | #include <linux/timer.h> | ||
16 | #include <linux/workqueue.h> | ||
14 | #include <mach/anomaly.h> | 17 | #include <mach/anomaly.h> |
15 | #include <mach/bfin_serial.h> | 18 | #include <mach/bfin_serial.h> |
16 | 19 | ||
@@ -25,10 +28,6 @@ | |||
25 | # endif | 28 | # endif |
26 | #endif | 29 | #endif |
27 | 30 | ||
28 | struct circ_buf; | ||
29 | struct timer_list; | ||
30 | struct work_struct; | ||
31 | |||
32 | struct bfin_serial_port { | 31 | struct bfin_serial_port { |
33 | struct uart_port port; | 32 | struct uart_port port; |
34 | unsigned int old_status; | 33 | unsigned int old_status; |
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index 8035145f043b..62087028a9ce 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -632,6 +632,7 @@ static irqreturn_t winch_interrupt(int irq, void *data) | |||
632 | int fd = winch->fd; | 632 | int fd = winch->fd; |
633 | int err; | 633 | int err; |
634 | char c; | 634 | char c; |
635 | struct pid *pgrp; | ||
635 | 636 | ||
636 | if (fd != -1) { | 637 | if (fd != -1) { |
637 | err = generic_read(fd, &c, NULL); | 638 | err = generic_read(fd, &c, NULL); |
@@ -657,7 +658,10 @@ static irqreturn_t winch_interrupt(int irq, void *data) | |||
657 | if (line != NULL) { | 658 | if (line != NULL) { |
658 | chan_window_size(line, &tty->winsize.ws_row, | 659 | chan_window_size(line, &tty->winsize.ws_row, |
659 | &tty->winsize.ws_col); | 660 | &tty->winsize.ws_col); |
660 | kill_pgrp(tty->pgrp, SIGWINCH, 1); | 661 | pgrp = tty_get_pgrp(tty); |
662 | if (pgrp) | ||
663 | kill_pgrp(pgrp, SIGWINCH, 1); | ||
664 | put_pid(pgrp); | ||
661 | } | 665 | } |
662 | tty_kref_put(tty); | 666 | tty_kref_put(tty); |
663 | } | 667 | } |