diff options
author | Douglas Anderson <dianders@chromium.org> | 2018-10-30 15:11:03 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-09 09:07:17 -0800 |
commit | babeca85847754ff62af58740bad0db731c3075a (patch) | |
tree | 39b9b093dbf7f825e6ad2cf9800a3bc0688f9a16 /include/net/fib_rules.h | |
parent | 6d11023c345e369bcb9d5a68b271764e362c1f6e (diff) |
serial: qcom_geni_serial: Finish supporting sysrq
The geni serial driver already had some sysrq code in it, but since
SUPPORT_SYSRQ wasn't defined the code didn't do anything useful.
Let's make it useful by adding that define using the same formula
found in other serial drivers.
In order to prevent deadlock, we'll take a page from the
'msm_serial.c' where the spinlock is released around
uart_handle_sysrq_char(). This seemed better than copying from
'8250_port.c' where we skip locking in the console_write function
since the '8250_port.c' method can cause lockdep warnings when
dropping into kgdb.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/fib_rules.h')
0 files changed, 0 insertions, 0 deletions