diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2024-03-01 22:45:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-02 22:06:20 +0100 |
commit | 2432f71c22d0543a86353ed0c505eda32d25af7c (patch) | |
tree | f5e407b4953fda2479b637e6a77c28a6b06cdec3 /net/lapb/lapb_out.c | |
parent | 65295eba1915cf27c363f26727f6da43d144d03b (diff) |
serial: amba-pl011: 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: Russell King <[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