mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
serial: 8250: Revert "drop lockdep annotation from serial8250_clear_IER()"
The 8250 driver no longer depends on @oops_in_progress and
will no longer violate the port->lock locking constraints.
This reverts commit 3d9e6f556e.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20250107212702.169493-7-john.ogness@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b63e6f60ea
commit
422c9727b0
|
|
@ -726,6 +726,9 @@ static void __serial8250_clear_IER(struct uart_8250_port *up)
|
|||
|
||||
static inline void serial8250_clear_IER(struct uart_8250_port *up)
|
||||
{
|
||||
/* Port locked to synchronize UART_IER access against the console */
|
||||
lockdep_assert_held_once(&up->port.lock);
|
||||
|
||||
__serial8250_clear_IER(up);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user