aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-04-16 16:05:57 +0200
committerGreg Kroah-Hartman <[email protected]>2021-04-22 12:04:26 +0200
commitcea37afd28f1bb7ca09a0c27e75f89cf2df9147d (patch)
tree839af875427d4d30a151c33020ca4362dd41c83e /lib/mpi/mpi-inline.h
parente359b4411c2836cf87c8776682d1b594635570de (diff)
serial: stm32: defer sysrq processing
Use the uart_unlock_and_check_sysrq() helper to defer sysrq processing until receive processing is done and the port lock has been released. This allows cleaning up the console_write() implementation by not having to work around the recursive sysrq case (by dropping locking completely) and also makes the console code work with PREEMPT_RT by no longer relying on local_irq_save(). Reviewed-by: Valentin Caron<[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions