diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2024-03-01 22:45:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-02 22:06:21 +0100 |
commit | e544127cc1365083ae675e8fe484146d8658cc62 (patch) | |
tree | b89c5a492392ffb7f3b39dffb973c6e96e4ded15 /lib/debugobjects.c | |
parent | 51f7ed071c34ae0a3efd9c21ba07efeda4dd1773 (diff) |
serial: sunplus: 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: Hammer Hsieh <hammerh0314@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20240301215246.891055-9-bigeasy@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions