diff options
| author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-01-11 17:41:39 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-06 22:52:23 -0800 |
| commit | 74ea66d4ca061a3cd4c0e924e51b60e924644852 (patch) | |
| tree | fc18a04bb41bafecbc85cecfbb50cb43a751a79a /include/linux/debugobjects.h | |
| parent | 354fb1a7d7e54a79d042f0a92dbd484bd3e900e6 (diff) | |
| download | cachepc-linux-74ea66d4ca061a3cd4c0e924e51b60e924644852.tar.gz cachepc-linux-74ea66d4ca061a3cd4c0e924e51b60e924644852.zip | |
tty: xuartps: Improve sysrq handling
Handling magic sysrq included dropping a lock to avoid a deadlock that
happened when cdns_uart_console_write tried to acquire a lock in the
from the sysrq code path. By making the acquisition of the lock in
cdns_uart_console_write depending on port->sysrq, cdns_uart_handle_rx can be
simplified to simply call uart_handle_sysrq.
Suggested-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
