aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-03-01 22:45:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-02 22:06:22 +0100
commitd47dd323bf959dbf5f3e7f83373c8ed5f3bec9c0 (patch)
tree6816020b0001ace93a08c4a691f56bb3eb701aed /lib/test_fortify/write_overflow-strncpy-src.c
parent06d28ca0c66cbb4e3716454f365f9cbb1e57a681 (diff)
serial: pch: 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. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lore.kernel.org/r/20240301215246.891055-19-bigeasy@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions