aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2024-03-01 22:45:18 +0100
committerGreg Kroah-Hartman <[email protected]>2024-03-02 22:06:21 +0100
commit4e5788c0993c0c83c3d91c090cfb6ff70f99b427 (patch)
treecb2ed1127d40b2c6e8cbf1f19f15c4b7e6246079 /net/lapb/lapb_out.c
parentfb793b952a330e6c87aec98aeb300aaa5c2ac960 (diff)
serial: msm: Use uart_prepare_sysrq_char().
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. Delay handling sysrq until port lock is dropped. Remove the special case in the console write routine an always use the complete locking function. Cc: Bjorn Andersson <[email protected]> Cc: Konrad Dybcio <[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