aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2024-03-01 22:45:22 +0100
committerGreg Kroah-Hartman <[email protected]>2024-03-02 22:06:21 +0100
commit6ba52968601ad3851d0b1da7dbe227b47a7dc918 (patch)
tree8ad772f64c1613bd406f1ac7756aec32c9ac9f5c /net/lapb/lapb_out.c
parente544127cc1365083ae675e8fe484146d8658cc62 (diff)
serial: lpc32xx_hs: Use uart_prepare_sysrq_char() to handle sysrq.
The port lock is a spinlock_t which is becomes a sleeping lock on PREEMPT_RT. The driver splits the locking function into two parts: local_irq_save() and uart_port_lock() and this breaks PREEMPT_RT. Handle sysrq requests sysrq once the port lock is dropped. Remove the special case in the console write routine an always use the complete locking function. Cc: Vladimir Zapolskiy <[email protected]> Cc: [email protected] Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions