diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 14:32:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 14:32:06 -0400 |
commit | 0de10f9ea67d1046b1e16c91fa26accf23939aab (patch) | |
tree | 1255e106529d0c708b3744dfd10367a535bda6f9 /arch/alpha/kernel | |
parent | a84270189e2afc7028b1123415a66d444f460977 (diff) | |
parent | 828c6a102b1f2b8583fadc0e779c46b31d448f0b (diff) |
Merge tag 'tty-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial updates from Greg KH:
"Here is the big TTY / Serial driver merge for 3.11-rc1.
It's not all that big, nothing major changed in the tty api, which is
a nice change, just a number of serial driver fixes and updates and
new drivers, along with some n_tty fixes to help resolve some reported
issues.
All of these have been in the linux-next releases for a while, with
the exception of the last revert patch, which was reported this past
weekend by two different people as being needed."
* tag 'tty-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (51 commits)
Revert "serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller"
pch_uart: Add uart_clk selection for the MinnowBoard
tty: atmel_serial: prepare clk before calling enable
tty: Reset itty for other pty
n_tty: Buffer work should not reschedule itself
n_tty: Fix unsafe update of available buffer space
n_tty: Untangle read completion variables
n_tty: Encapsulate minimum_to_wake within N_TTY
serial: omap: Fix device tree based PM runtime
serial: imx: Fix serial clock unbalance
serial/mpc52xx_uart: fix kernel panic when system reboot
serial: mfd: Add sysrq support
serial: imx: enable the clocks for console
tty: serial: add Freescale lpuart driver support
serial: imx: Improve Kconfig text
serial: imx: Allow module build
serial: imx: Fix warning when !CONFIG_SERIAL_IMX_CONSOLE
tty/serial/sirf: fix error propagation in sirfsoc_uart_probe()
serial: omap: fix potential NULL pointer dereference in serial_omap_runtime_suspend()
tty: serial: Enable uartlite for ARM zynq
...
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/console.c | 4 | ||||
-rw-r--r-- | arch/alpha/kernel/process.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/alpha/kernel/console.c b/arch/alpha/kernel/console.c index da711e37fc97..6a61deed4a85 100644 --- a/arch/alpha/kernel/console.c +++ b/arch/alpha/kernel/console.c | |||
@@ -61,7 +61,9 @@ locate_and_init_vga(void *(*sel_func)(void *, void *)) | |||
61 | 61 | ||
62 | /* Set the VGA hose and init the new console. */ | 62 | /* Set the VGA hose and init the new console. */ |
63 | pci_vga_hose = hose; | 63 | pci_vga_hose = hose; |
64 | take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); | 64 | console_lock(); |
65 | do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); | ||
66 | console_unlock(); | ||
65 | } | 67 | } |
66 | 68 | ||
67 | void __init | 69 | void __init |
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index ab80a80d38a2..f2360a74e5d5 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c | |||
@@ -117,7 +117,9 @@ common_shutdown_1(void *generic_ptr) | |||
117 | if (in_interrupt()) | 117 | if (in_interrupt()) |
118 | irq_exit(); | 118 | irq_exit(); |
119 | /* This has the effect of resetting the VGA video origin. */ | 119 | /* This has the effect of resetting the VGA video origin. */ |
120 | take_over_console(&dummy_con, 0, MAX_NR_CONSOLES-1, 1); | 120 | console_lock(); |
121 | do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES-1, 1); | ||
122 | console_unlock(); | ||
121 | #endif | 123 | #endif |
122 | pci_restore_srm_config(); | 124 | pci_restore_srm_config(); |
123 | set_hae(srm_hae); | 125 | set_hae(srm_hae); |